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.

Bug 228677 - php variables between include files
Summary: php variables between include files
Status: RESOLVED DUPLICATE of bug 217714
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-18 06:41 UTC by mesuut
Modified: 2016-09-22 18:00 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Variable $conf seems to be unused in its scope hint (205.71 KB, image/jpeg)
2013-04-18 06:41 UTC, mesuut
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mesuut 2013-04-18 06:41:42 UTC
Created attachment 133548 [details]
Variable $conf seems to be unused in its scope hint

l know its not bug but would be nice if ide stop show warning for variable defination in php.

l have config file have $config array defination, editor hints unused var,

when l include config.php another file# editor warning variable hints uninitialized

please see attachment

can we use /*@global array $config */ for stop warning?
or another solution?

thanks.
Comment 1 amobilia 2016-09-22 18:00:35 UTC

*** This bug has been marked as a duplicate of bug 217714 ***