note 96681 added to functions.anonymous
| From: | Anonymous at osu1 dot php dot net | Date: | Thu, 11 Mar 2010 12:46:27 +0000 |
| Subject: | note 96681 added to functions.anonymous | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166900@lists.php.net to get a copy of this message | ||
2 ulderico at maber dot com dot br
You call it incorrectly. So the right way is:
<?php
$helloworld = function() {
return 'Something special!' . PHP_EOL;
};
echo $helloworld();
----
Server IP: 69.147.83.197
Probable Submitter: 83.57.247.212
----
Manual Page -- http://www.php.net/manual/en/functions.anonymous.php
Edit -- https://master.php.net/note/edit/96681
Del: integrated -- https://master.php.net/note/delete/96681/integrated
Del: useless -- https://master.php.net/note/delete/96681/useless
Del: bad code -- https://master.php.net/note/delete/96681/bad+code
Del: spam -- https://master.php.net/note/delete/96681/spam
Del: non-english -- https://master.php.net/note/delete/96681/non-english
Del: in docs -- https://master.php.net/note/delete/96681/in+docs
Del: other reasons-- https://master.php.net/note/delete/96681
Reject -- https://master.php.net/note/reject/96681
Search -- https://master.php.net/manage/user-notes.php