Page 1 of 1

PHP_EOL

Posted: Wed Oct 29, 2008 6:31 am
by cicerojruk
Good Day folks,
Just a quick question:
What is PHP_EOL and what does it do?
Many thanks,
Cicero

Re: PHP_EOL

Posted: Wed Oct 29, 2008 7:03 am
by cicerojruk
A friend has given me the answer, I leave it here, just in case someone needs it.

"PHP_EOL (EOL stands for End Of Line) is used to insert New-Line Character for the current OS which the user is viewing. Of course, you would use this in file system rather than in HTML where you'd just use "<br/>".

Regards,
Cicero

Re: PHP_EOL

Posted: Wed Oct 29, 2008 9:12 am
by playgames
add:since PHP 4.3.10 & PHP 5.0.2