note 106398 deleted from function.echo by googleguy

From: Date: Wed, 22 Jan 2014 20:53:14 +0000
Subject: note 106398 deleted from function.echo by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-198308@lists.php.net to get a copy of this message
Note Submitter: ximlabz at gmail dot com ---- A remedy to the problems caused by different management of returns between different platforms you can use the predefined constant PHP_EOF as the second parameter: <?php $foo = "foo"; $bar = "bar"; echo "Foo is $foo", PHP_EOL; echo "Bar is $bar"; // is the same as using: echo "Foo is $foo\n"; echo "Bar is $bar"; // but here only for UNIX-like platforms ?>

« previous php.notes (#198308) next »