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.
code --- <?php class A { public function b() { $a = array(); foreach ($a as $key) { $this->$key = 1; } } } --- There is hint "Variable does not seem to be used in its scope" on var $key in IDE. It is not correct because of $key is used in $this->$key.
*** This bug has been marked as a duplicate of bug 170541 ***