Bug #11452 Updated: it is not possible to assign a default value to a variable passed by reference
| From: | jmoore@php.net | Date: | Sun, 17 Jun 2001 09:11:19 +0000 |
| Subject: | Bug #11452 Updated: 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-56987@lists.php.net to get a copy of this message | ||
ID: 11452
Updated by: jmoore
Reported By: lasconi@free.fr
Old-Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
your trying to assign a constant by reference. This will ofcourse not work, we have had a few
feature requests for this so it might make it into 4.1 but this certainly isnt a bug.
- James
Previous Comments:
---------------------------------------------------------------------------
[2001-06-12 21:29:55] lasconi@free.fr
this script produces a parse error:
function f(&$a="a"){
return true;
}
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11452&edit=2