Bug #978: '//' comments don't work correctly?

From: Date: Sat, 05 Dec 1998 16:16:04 +0000
Subject: Bug #978: '//' comments don't work correctly?
Groups: php.dev 
Request: Send a blank email to php-dev+get-2678@lists.php.net to get a copy of this message
From: auke@muze.nl Operating system: debian 2.0 PHP version: 3.0.5 PHP Bug Type: Parser error Bug description: '//' comments don't work correctly? <?php echo "test<br>"; // echo "blabla ?>"; echo "this will not be executed"; ?> This script sees the '?>' in the outcommented string as the end of the php code. I'm not sure, but this looks incorrect to me (or at least I hope it's incorrect :) When using /* .. */ style comments everything works as advertized :) regards, Auke van Slooten -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2678) next »