PHP 4.0 Bug #6343: enable pass by reference to be optional
| From: | waldschrott@php.net | Date: | Fri, 25 Aug 2000 03:24:19 +0000 |
| Subject: | PHP 4.0 Bug #6343: enable pass by reference to be optional | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30586@lists.php.net to get a copy of this message | ||
From: waldschrott@php.net
Operating system: *
PHP version: 4.0 Latest CVS (24/08/2000)
PHP Bug Type: Feature/Change Request
Bug description: enable pass by reference to be optional
It would quite fine if zend would support this syntax...
function ref(&$var='') {}
To enable optional references. If no parameter is supplied,
set $var to standard value, as usual.