note 24665 added to function.return
| From: | admin at nospam_crashorbash dot com | Date: | Sun, 25 Aug 2002 00:31:21 +0000 |
| Subject: | note 24665 added to function.return | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35561@lists.php.net to get a copy of this message | ||
Since there are no contributions here I thought I would leave at least one of most common examples:
//add 2 to any given number
function add_me($x){return($x+2);}
echo add_me(9);
--
http://www.php.net/manual/en/function.return.php
http://master.php.net/manage/user-notes.php?action=edit+24665
http://master.php.net/manage/user-notes.php?action=delete+24665
http://master.php.net/manage/user-notes.php?action=reject+24665