note 78612 added to function.echo
| From: | hemanman at gmail dot com | Date: | Fri, 19 Oct 2007 06:00:20 +0000 |
| Subject: | note 78612 added to function.echo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131531@lists.php.net to get a copy of this message | ||
concerning
scott at truebluewc dot com
29-Jul-2007 01:58
<?php
function func(){
echo "within func()\n";
}
echo "outside func()\n".func();
echo "outside func()\n",func(); //[,] instead of [.]
?>
output:
within func() outside func()
outside func() within func()
seemed that separating the parameters by [,] kept the function calls in an expected order,but i am
still confused about [,] & [.] not behaving the same cause [.] is just a simple concatenation
----
Server IP: 60.195.249.224
Probable Submitter: 218.18.58.249
----
Manual Page -- http://www.php.net/manual/en/function.echo.php
Edit -- https://master.php.net/note/edit/78612
Del: integrated -- https://master.php.net/note/delete/78612/integrated
Del: useless -- https://master.php.net/note/delete/78612/useless
Del: bad code -- https://master.php.net/note/delete/78612/bad+code
Del: spam -- https://master.php.net/note/delete/78612/spam
Del: non-english -- https://master.php.net/note/delete/78612/non-english
Del: in docs -- https://master.php.net/note/delete/78612/in+docs
Del: other reasons-- https://master.php.net/note/delete/78612
Reject -- https://master.php.net/note/reject/78612
Search -- https://master.php.net/manage/user-notes.php