Community
Participate
Working Groups
Created attachment 179036 [details] screen-shot 1. Have a PHP project with PHP file with some variables in it 2. Open PHP Project Outline view Notice that the variables are listed under the constants node (screen-shot)
Created attachment 182584 [details] patch
Hi Silviya Do we need to display the constants defined by "const". sample code: <?php const C = "1"; ?>
I think that if they are global they should be displayed (const is available since PHP 5.3: http://www.php.net/manual/en/language.constants.syntax.php)
OK, So do you mean that if they are defined under namespace, they should not be displayed? for example(PHP5.3): <?php namesapce ns; const A = 1; // should not be displayed define("B", 2); // should not be displayed ?> <?php const A = 1; // should be displayed define("B", 2); // should be displayed ?>
Created attachment 184568 [details] patch just display GLOBAL constants. constants in namespace/class/interface will not be displayed.
applied the patch,thanks!
Verified.