ID: 33306 Updated by: [EMAIL PROTECTED] Reported By: rob at span dot com -Status: Open +Status: Closed -Bug Type: Unknown/Other Function +Bug Type: Scripting Engine problem Operating System: Win2003 / Apache2 PHP Version: 5.0.4 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-06-10 19:34:57] rob at span dot com Description: ------------ PHP5 doesn't like comments including %> PHP4 was happy enough with them... Do you know how hard it is to search for '%>' ? Reproduce code: --------------- // Insure £9<£600 1.5%>£600 # Insure £9<£600 1.5%>£600 but /* Insure £9<£600 1.5%>£600 */ Expected result: ---------------- nothing !!! Actual result: -------------- Parse error: syntax error, unexpected $end in blah.php on line 193 i.e. after the ?> on the final line ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33306&edit=1