It means that the ?>'\n' is actually taken by the PHP parser.  I think the
best way to explain it is with the following demo:

random text
<? echo "hello"; ?>
<? echo "world"; ?>
more random text

will produce:

random text
helloworldmore random text

instead of the (commonly) expected:

random text
hello
world
more random text

However, since newline characters are of little or not significance in the
land of HTML, I can't see this affecting you, however if they don't mention
these things, people will submit it as a bug.

Hope that helped

Ross


-----Original Message-----
From: theN [mailto:[EMAIL PROTECTED]]
Sent: 05 May 2002 21:43
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Small Doubt in PHP Manual...pls help


<quote>
Note that the "?>" sequence also eats a end-of-line character
after it, so this end-of-line won't get generated to the implicitly
echo'ed output. If you need to generate an end-of-line after the
"?> sequence, you MUST follow it by another end-of-line...
</quote>

This above is a User Contributed Note on "Instruction Separation" of the
PHP manual. Could some one please explain what it means. Thanks

--
Lots of Luck

theN
[EMAIL PROTECTED]


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to