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.
A syntax error should be shown for the following string in the editor: "A banana is $fruits['banana']." ^^^^^^^^ Because, a run-time error will occur: Error: PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in <someFile> on line <someLine> Note, this example from the "Simple syntax" section of the "Strings" chapter of the PHP Manual: http://www.php.net/manual/en/language.types.string.php
Such syntax is not handled by .nbs file. This bug should be addressed to global issue with error detection. We need manually written error detection framework for such cases.
Fixed with the new PHP parser.