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.
Reproduced in build071115. Example: <body> <?php // Why? It doesn't work. ?> <div> </div> <?php $a= 1; ?> </body>
Reproduced. The problem is in line comments that cannot contain "?>" inside this comment. Line comment is ended if "?>" appeared and it is treated as end of php block. Described behavior is consequence of current php block recognition impl.
Checking in php/lexer/src/org/netbeans/modules/php/lexer/InsidePhpStateStrategy.java; /cvs/scripting/php/lexer/src/org/netbeans/modules/php/lexer/InsidePhpStateStrategy.java,v <-- InsidePhpStateStrategy.java new revision: 1.8; previous revision: 1.7 done
Changed target milestone to 6.0
Verified in beta.