This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I see some areas that could use some improvement in regards to CC completions when using string parameters: 1) The super globals like $_ENV could benefit from a CC list showing which constants apply to it. I do see you have $_SERVER doing this so just need to extend it to $_ENV and anything else you can think should do this. It would be great if it could even do SESSION CC lists - some how keep track of what you add to your SESSION and then offer a CC list showing the values you have been saving into it. I also think the product could really benefit from CC suggestions for ini_set and similar functions. The parameters used with the ini_ functions are fairly well defined and could probably work in a CC list. And while I am suggesting stuff... It would be fantastic to have a nice way to adjust the settings of your PHP ini file from within NB. You already have a spot to add the path to the PHP cgi and if you also did the .ini file path, not only could you execute the debugger and run with the path to this file (which would be much safer) you could then open the door to adding a php.ini configuration tool for NB.
I reported missing code completion as issue 151151 and UI for editing php.ini as issue 151150, so this issue only covers CC for predefined array indices. See also issue 138397
reassigning to default owner
batch reassigning
I would suggest to close the bug as "will not fix". Because: suggest for super global $_ENV can't be integrated as such list does not exist. See the PHP manual on $_ENV: --- snip --- These variables are imported into PHP's global namespace from the environment under which the PHP parser is running. Many are provided by the shell under which PHP is running and different systems are likely running different kinds of shells, A_DEFINITIVE_LIST_IS_IMPOSSIBLE . Please see your shell's documentation for a list of defined environment variables. --- snap --- Agreed?
For me it's won't fix as well.