Author Topic: What is PHP_EOL constant and when to use it?  (Read 11051 times)

Savera

  • Full Member
  • ***
  • Posts: 159
What is PHP_EOL constant and when to use it?
« on: June 23, 2012, 07:02:05 AM »
Hi,

I have seen this PHP_EOL used in few script and that doesn't make sense to me, what is this exactly for ?

This explanation I got from php.net

PHP_EOL (string)
    The correct 'End Of Line' symbol for this platform. Available since PHP 4.3.10 and PHP 5.0.2

And that is not clear to me..

 

X

Do you know?

Just make posts in this community and win .com / .org / .net domain name free.
Know more..
Join Now!
anything