Why "Structure" panel not show members of file? (only php class)
Hi all! If i write code without php class this not show members of file in "structure" panel.

Only if i write code with php class, this panel show all members of this class.
How can i see members of file (not class) in "structure" panel ?
请先登录再写评论。
Hi there,
What it supposed to be shown there?
When you look at OOP code (classes) -- do you see ordinary variables that are used inside class method listed in a Structure panel? Why do you expect them to be listed there in non-OOP code then?
In any case: current behaviour was done on purpose really long time ago (3 or 4 years now, I believe).
BTW -- function declarations, constants are shown there but variables are not.
Okay, i understand you.
Thanks for reply :)
Do you speak Russian?)
Hello,
Our forums is an international place so let's stick to English, please.