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.
this is what doesn't work: <?php /* $l_sQuery = '/*myFunctionName*/ <<< this is where the comment already ends. SELECT * FROM `table` LIMIT 0,1'; as far i can remember this behaviour is since i updated from version 6.8 to 6.9.1
Still valid. Lexer has to be improved to ignore comment ends in a string. Product Version: NetBeans IDE Dev (Build 20121116-91d83031938c) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b12 System: Mac OS X version 10.8.2 running on x86_64; UTF-8; cs_CZ (nb)
Sorry, but this throws Parse error in runtime too. PHP can't parse that. It's not allowed. Even the documentation mentions that - http://php.net/manual/en/language.basic-syntax.comments.php see third example with a nested block comment.