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.
The follow is a valid PHP statement, but will report as a syntax error: $a = array(); This is most likely a regression in recent builds. Product Version: NetBeans IDE Dev (Build 200711191200) Java: 1.6.0_10-ea; Java HotSpot(TM) Client VM 1.6.0_10-ea-b07 System: Windows Vista version 6.0 running on x86; Cp1252; en_GB (nb)
This is consequence of changing "array" grammar.
Checking in php/srcmodel/test/unit/src/org/netbeans/modules/php/model/ArrayTest.java; /cvs/scripting/php/srcmodel/test/unit/src/org/netbeans/modules/php/model/ArrayTest.java,v <-- ArrayTest.java new revision: 1.2; previous revision: 1.1 done Checking in php/editing/src/org/netbeans/modules/languages/php/resources/purePHP5.nbs; /cvs/scripting/php/editing/src/org/netbeans/modules/languages/php/resources/purePHP5.nbs,v <-- purePHP5.nbs new revision: 1.60; previous revision: 1.59 done Checking in php/srcmodel/test/unit/src/org/netbeans/modules/php/model/resources/array.php; /cvs/scripting/php/srcmodel/test/unit/src/org/netbeans/modules/php/model/resources/array.php,v <-- array.php new revision: 1.2; previous revision: 1.1 done
Verified