PHP 4.0 Bug #8033 Updated: parse error
| From: | stas@php.net | Date: | Wed, 29 Nov 2000 15:51:27 +0000 |
| Subject: | PHP 4.0 Bug #8033 Updated: parse error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39587@lists.php.net to get a copy of this message | ||
ID: 8033
Updated by: stas
Reported By: ce@beer.com
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
var initializers can be only constants.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-29 10:49:37] ce@beer.com
$flags = ASD | DSA; //this one is OK
class test{
var $flags = ASD | DSA; // on this line it gives parse error
}
I downloaded the latest CVS - the same problem.
I havn't test with previous versions.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8033