note 93899 deleted from language.functions by googleguy
| From: | googleguy@php.net | Date: | Sat, 19 Jan 2013 03:39:04 +0000 |
| Subject: | note 93899 deleted from language.functions by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193211@lists.php.net to get a copy of this message | ||
Note Submitter: Raashell
----
I was a little slow on the uptake for the same question Vameza describes. Here is a contrasting set
of code that outlines the difference.
<?php
function a($n){
b($n);
return ($n * $n);
}
function b(&$n){
$n++;
}
echo a(5); //Outputs 36
?>