note 77930 added to function.create-function
| From: | prodigerx at gmail dot com | Date: | Thu, 20 Sep 2007 09:23:58 +0000 |
| Subject: | note 77930 added to function.create-function | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130626@lists.php.net to get a copy of this message | ||
<?php $a=1; $b=10; $c=0; function edit(&$a, &$b, &$c) { $c=$a*$b; $a+=5;
$b-=5; }
echo"\$a = $a<br/>\$b = $b<br/>\$c = $c";
edit($a, $b, $c);
echo"<br/>--<br/>\$a = $a<br/>\$b = $b<br/>\$c = $c";
?>
----
Server IP: 193.219.81.76
Probable Submitter: 87.247.96.103
----
Manual Page -- http://www.php.net/manual/en/function.create-function.php
Edit -- https://master.php.net/note/edit/77930
Del: integrated -- https://master.php.net/note/delete/77930/integrated
Del: useless -- https://master.php.net/note/delete/77930/useless
Del: bad code -- https://master.php.net/note/delete/77930/bad+code
Del: spam -- https://master.php.net/note/delete/77930/spam
Del: non-english -- https://master.php.net/note/delete/77930/non-english
Del: in docs -- https://master.php.net/note/delete/77930/in+docs
Del: other reasons-- https://master.php.net/note/delete/77930
Reject -- https://master.php.net/note/reject/77930
Search -- https://master.php.net/manage/user-notes.php