AW: AW: [PEAR-DEV] Update: HTTP_Download
| From: | Stephan Schmidt | Date: | Tue, 30 Sep 2003 13:01:21 +0000 |
| Subject: | AW: AW: [PEAR-DEV] Update: HTTP_Download | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22220@lists.php.net to get a copy of this message | ||
Hi,
> <?php
> function foo($a) {}
>
> $b = 'whatever';
> foo($b);
> ?>
> $a won't be a copy of $b unless you modify $a inside the function.
And that
<?php
function foo(&$a) {}
is in this case slower than
function foo($a) {}
?>
Stephan