Author Topic: What is PHP_EOL constant and when to use it?  (Read 11047 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?

IfandBut.com helps you to keep yourself updated with latest internet business trends.
Join Now!
anything