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.
Adding this statement is flagged as syntax error: (function() {})(); This should be recognized as correct syntax in PHP7. Same if the anonymous function has a body.
*** This bug has been marked as a duplicate of bug 259111 ***