Date: 12/05/98
- Next message: Bug Database: "[PHP-DEV] Bug #978 Updated: '//' comments don't work correctly?"
- Previous message: auke <email protected>: "[PHP-DEV] Bug #977: php seems to crash with ereg and a searchstring including "?>""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: auke <email protected>
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 <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #978 Updated: '//' comments don't work correctly?"
- Previous message: auke <email protected>: "[PHP-DEV] Bug #977: php seems to crash with ereg and a searchstring including "?>""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

