|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-04-04 07:30 UTC] zeev
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 20 19:00:01 2025 UTC |
Purely cosmetic (used when trying to leave no trace in output HTML that PHP was ever there..) - if an embedded PHP command is followed by a LF (in the PHP/HTML source), then shouldn't it be present in the output HTML stream? For example, if you have something like: ... </DIV><?PHP ... ?> <TABLE> ... Wouldn't you expect the output (assuming the PHP code output nothing itself) to be like so: ... </DIV> <TABLE> ... Yet when viewed in Netscape 4.04 (Linux, output coming from a Solaris server), the output is actually: ... </DIV> <TABLE> ... The blank line in the middle is missing, as though the trailing LF had been eaten. For the most part this is purely cosmetic as I said - unless someone is trying to match a certain output format (to be parsed by an automated tool) in which case they'll have to start inserting additional LF's into the output stream just to compensate (which then becomes a guessing game).