Skip to content

$GLOBALS in function leaves variable unassigned #303

@bookworm109

Description

@bookworm109

I'm trying to set up a debugging function using $GLOBALS, and phptools is saying the variable I assign a value with is unassigned. The variable works fine, and I had to trick phptools into preventing it from giving me an error.

This shows the variable $xValue as unassigned.
unassigned

I trick phptools with an assignment that never happens.

tricked

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions