note 92376 added to functions.anonymous
| From: | ovvvie at yahoo dot com | Date: | Wed, 22 Jul 2009 05:23:55 +0000 |
| Subject: | note 92376 added to functions.anonymous | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158566@lists.php.net to get a copy of this message | ||
@ ulderico at maber dot com dot br
maybe u forgot to write bracket
see:
$helloworld = function(){
return "each hello world is different... ".date("His");
};
echo $helloworld();
your syntax is
echo $helloworld;
which is should be
echo $helloworld();
----
Server IP: 202.182.182.183
Probable Submitter: 114.123.191.178
----
Manual Page -- http://www.php.net/manual/en/functions.anonymous.php
Edit -- https://master.php.net/note/edit/92376
Del: integrated -- https://master.php.net/note/delete/92376/integrated
Del: useless -- https://master.php.net/note/delete/92376/useless
Del: bad code -- https://master.php.net/note/delete/92376/bad+code
Del: spam -- https://master.php.net/note/delete/92376/spam
Del: non-english -- https://master.php.net/note/delete/92376/non-english
Del: in docs -- https://master.php.net/note/delete/92376/in+docs
Del: other reasons-- https://master.php.net/note/delete/92376
Reject -- https://master.php.net/note/reject/92376
Search -- https://master.php.net/manage/user-notes.php