ID:               24209
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nicolas dot sandri at free dot fr
 Status:           Bogus
 Bug Type:         Output Control
 Operating System: FreeBSD & Mac OS X
 PHP Version:      4.3.2
 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

read the docs...


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

[2003-06-16 15:05:36] [EMAIL PROTECTED]

Known and expected.  Probably even documented somewhere too.

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

[2003-06-16 15:03:20] nicolas dot sandri at free dot fr

Description:
------------
See the code, end of line comment "//" and "##" does 
not work with the PHP ending tag.
It could be not very important but, if you have a line 
like that :
echo "<?xml version=\"1.0\"?>";
You comment it with "//" and now the PHP script exit 
since it found the "?>" into line.
The only way is to use the "/* */" comment.

Reproduce code:
---------------
<?
echo "I'm ";
// ?>
echo "outside the PHP script";
?>

Expected result:
----------------
I'm outside the PHP script

Actual result:
--------------
I'm echo "outside the PHP script"; ?>


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


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

Reply via email to