|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-16 18:44 UTC] bato3 at poczta dot fm
[2005-04-16 18:49 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 04:00:02 2025 UTC |
Description: ------------ If I coment line witch string, who include '?>' script crashed (Sorry tor my english) Reproduce code: --------------- <?php //1 //print highlight_string('<?php if(foo) ?>'); ?> <?php //2 if($foo){ //print highlight_string('<?php if(foo) ?>'); } ?>//line 5 Expected result: ---------------- 1: Script: OK; data: bad 2: Script: Error Actual result: -------------- 1: '); 2: Parse error: parse error in /var/www/html/97.php on line 6 2: Unexpected end file