note 21612 added to function.echo
| From: | calin at ciao dot com | Date: | Tue, 21 May 2002 09:01:41 +0000 |
| Subject: | note 21612 added to function.echo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30829@lists.php.net to get a copy of this message | ||
Here is a way you could use echo:
define ('CR', "\n");
echo
CR, 'The code here',
CR, 'looks more readable',
CR, 'then just having everything',
CR, 'in one line',
CR, 'It seems also to be faster',
CR, 'than concatenation',
CR, 'You only need to pay attention',
CR, 'to the last ; and , do not mix them.'
;
This also elliminates the overhead of another function.
Calin Uioreanu
php9.com Weblog
http://www.php9.com/
--
http://www.php.net/manual/en/function.echo.php
http://master.php.net/manage/user-notes.php?action=edit+21612
http://master.php.net/manage/user-notes.php?action=delete+21612
http://master.php.net/manage/user-notes.php?action=reject+21612