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 (Valid PHP code): (function($a){echo $a;})(1); Netbeans mark line as error: Syntax error unexpected: ( after: )
This already works in the dev version of NetBeans. Thanks for reporting. Product Version: NetBeans IDE Dev (Build 20161115-b27d497872f5) Java: 1.8.0_111; Java HotSpot(TM) 64-Bit Server VM 25.111-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_111-b14 System: Linux version 4.8.0-27-generic running on amd64; UTF-8; cs_CZ (nb)