Bug #11452: it is not possible to assign a default value to a variable passed by reference
| From: | lasconi at free dot fr | Date: | Wed, 13 Jun 2001 01:29:55 +0000 |
| Subject: | Bug #11452: it is not possible to assign a default value to a variable passed by reference | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56999@lists.php.net to get a copy of this message | ||
From: lasconi@free.fr
Operating system: windows98
PHP version: 4.0.5
PHP Bug Type: *Function Specific
Bug description: it is not possible to assign a default value to a variable passed by reference
this script produces a parse error:
function f(&$a="a"){
return true;
}
--
Edit Bug report at: http://bugs.php.net/?id=11452&edit=1