Good Day folks,
Just a quick question:
What is PHP_EOL and what does it do?
Many thanks,
Cicero
PHP_EOL
Moderator: General Moderators
-
cicerojruk
- Forum Newbie
- Posts: 2
- Joined: Wed Oct 29, 2008 5:44 am
Re: PHP_EOL
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
"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
add:since PHP 4.3.10 & PHP 5.0.2