|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-04-07 08:05 UTC] kalle@php.net
[2008-04-07 17:04 UTC] xuefer at gmail dot com
[2008-04-07 17:51 UTC] scottmac@php.net
[2008-07-06 16:23 UTC] nlopess@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 20:00:01 2025 UTC |
Description: ------------ $ php -r 'if (1) { ?>#<?php }' Parse error: syntax error, unexpected $end in Command line code on line 1 note that you cannot reproduce with ?> #<?php (with a space before # Reproduce code: --------------- 1.php <?php if (1) { ?>#<?php } ?> 2.php #<?php echo 1; ?> #<?php echo 1; ?> expected: #1#1 actual: #<?php echo 1; ?> #<?php echo 1; ?> Expected result: ---------------- used to work in php5.2 IIRC and echo # character Actual result: -------------- Parse error: syntax error, unexpected $end in Command line code on line 1