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.
PHPIndex.getAllProperties() should be used instead of finding the fields directly. This bug is based on code analysis, I don't have the steps to reproduce it in the IDE.
Steps how to reproduce: <?php //must contain basecls with basefld field include("inc.php"); class cls extends basecls { function fce() { $basefld="";//must exists variable with the same name echo $this->$basefld;//then warning isn't showed } } ?> Should happen rarely, I would say. Maybe I should rather resign on finding the fields directly at all and thus simplify the impl. Definitely P4 for now, I think
batch reassigning
Batch reassigning.
There is no "Improper field access" hint in 7.1.