[PHP-DEV] PHP 4.0 Bug #3609: Can not declare a static variable using a variable. From: kevin <email protected>
Date: 02/24/00

From: kevin <email protected>
Operating system: Linux Red Hat
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Compile Failure
Bug description: Can not declare a static variable using a variable.

static $a = $b; //does not work

static $a = 0;//works

static $a = 'data'; //works

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>