note 18272 deleted from language.basic-syntax by sp

From: Date: Fri, 08 Aug 2003 21:00:05 +0000
Subject: note 18272 deleted from language.basic-syntax by sp
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53668@lists.php.net to get a copy of this message
Note Submitter: paquerette_only@hotmail.com ---- Under php 3.0.14 : if you have a line like this : echo "?> written to file"; And you wish to comment this line, you'll do this : //echo "?> written to file"; But this will generate a parse error at the end of script (even if this line was in an include script). Why? because '?>' is ignored as long as it is inside "". But once you've commented, the echo function is ignored, and '?>' takes its signification : end of script! I guess it was corrected on next version, but if you run under php 3.0.14 be careful, it make me loose a lot of time! Paquerette

« previous php.notes (#53668) next »