note 60244 added to function.echo
| From: | AmirHosseinEstakhrian at osu1 dot php dot net | Date: | Sat, 31 Dec 2005 05:16:35 +0000 |
| Subject: | note 60244 added to function.echo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101026@lists.php.net to get a copy of this message | ||
Hello firends
About echo Vs print,
int print ( string arg )
void echo ( string arg1 [, string ...] )
As you see,Print return has its own return value,But Echo doesn't return anything,Then print
can be used in an expression,But echo can not.
GOOD LUCK
----
Manual Page -- http://www.php.net/manual/en/function.echo.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60244
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60244&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60244&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60244&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60244&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60244&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60244&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60244&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60244&report=yes
Search -- http://master.php.net/manage/user-notes.php