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 ?

4 comments
Comment actions Permalink

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.

0
Comment actions Permalink

Okay, i understand you.

Thanks for reply :)

0
Comment actions Permalink

Do you speak Russian?)

0
Comment actions Permalink

Hello,

Our forums is an international place so let's stick to English, please.

0

Please sign in to leave a comment.