|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-28 23:09 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 21:00:02 2025 UTC |
Description: ------------ configure command line: './configure' '--with-zlib' '--with-mysql=/var/lib/mysql' '--with-apxs=/usr/sbin/apxs' '--with-oci8=/u01/app/oracle/product/8.1.7' '--with-mssql=/usr/local/freetds' Browser: IE6 & Firefox by far This is a purely PHP parser problem, I think. It can't determine if the "{" and "}" inside HTML comment tags. Problematic codes: --------------------------------------- Begin of html/php file These are html codes <!-- <?}?> --> <br> End of htm file --------------------------------------- The HTML comment should take privilege over the PHP tag thus these codes shouldn't generate a problem, but it does. Error: Parse error: parse error, unexpected '}' Reproduce code: --------------- Begin of html/php file These are html codes <!-- <?}?> --> <br> End of htm file Expected result: ---------------- Begin of html/php file These are html codes End of htm file Actual result: -------------- Parse error: parse error, unexpected '}' on line 7