This is just a curious question but consider the following trivial script:

#!/usr/bin/php -q
<?php
echo 'hello';
?>
end

Why does this ouput:

$ ./test.php
helloend

and not:

$ ./test.php
hello
end

Meaning the linebreak after the ?> is not emitted.

Is there some kind of special rule about this or is it just a quirk?

Mike

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to