On Wed, May 21, 2008 at 10:46 PM, LEW21 <[EMAIL PROTECTED]> wrote:
> 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);
what stops you from declaring:
function someFunc(&$param = null)
{
}
it works just fine
> Deleting it isn't a good idea, it should become a normal (not
> deprecated) language feature.
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php