Re: RFC: allow_call_pass_by_reference
| From: | LEW21 | Date: | Wed, 21 May 2008 18:46:31 +0000 |
| Subject: | Re: RFC: allow_call_pass_by_reference | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37783@lists.php.net to get a copy of this message | ||
Sometimes call time pass by reference is useful, for example when you
want to make it possible to omit an param (normally passed by
reference) by setting null. With no call time pass by reference,
programmers are required to write:
$null = null;
foo($null);
Deleting it isn't a good idea, it should become a normal (not
deprecated) language feature.