Skip to content

invalid undefined variable #77

@Bleksak

Description

@Bleksak

PHPantom version

0.7.0

Installation method

Built from source

Operating system

Linux x86_64

Editor

Other (describe in Additional Context)

Bug description

in steps to reproduce - create the file and it will say $z is undefined, but this is (sadly) a valid php code 😄

Steps to reproduce

<?php

function z()
{
    $z['a']['x'] = 'a';
    $z['b']['y'] = 'a';
    $z['c']['z'] = 'a';
}

z();

Error output or panic trace


.phpantom.toml

Additional context

helix editor

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions