Bug #11449: it is not possible to declare a static variable variable
| From: | lasconi at free dot fr | Date: | Wed, 13 Jun 2001 00:23:22 +0000 |
| Subject: | Bug #11449: it is not possible to declare a static variable variable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56853@lists.php.net to get a copy of this message | ||
From: lasconi@free.fr
Operating system: linux and windows98
PHP version: 4.0.5
PHP Bug Type: *Function Specific
Bug description: it is not possible to declare a static variable variable
this script produces a parse error:
function test(){
$a="a";
static $$a;
}
--
Edit Bug report at: http://bugs.php.net/?id=11449&edit=1