ID:               27086
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jaba at inbox dot lv
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: any?
 PHP Version:      5.0.0b3 (beta3)
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.


Previous Comments:
------------------------------------------------------------------------

[2004-01-29 08:18:22] jaba at inbox dot lv

Description:
------------
Comment line starters # and // dont work properly. I thought everything
that follows these signs is considered a comment. Now in PHP5 (have no
place to test on PHP4 now) i find out that if i have the PHP tag ?> in
the commented line, the parser ends parsing PHP right there! So if you
have smth like this in your code, then the rest of php code is sent as
output !!!

Reproduce code:
---------------
<?php
echo 'hello world!';
// echo '?>';
$password='secretpassword';
?>

Expected result:
----------------
hello world!

Actual result:
--------------
hello world!';
$password='secretpassword';
?>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27086&edit=1

Reply via email to