ID: 24388 Updated by: [EMAIL PROTECTED] Reported By: xbite at exonium dot net -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: Linux - Slackware 8.0 PHP Version: 4.3.2 New Comment:
It does: [EMAIL PROTECTED] derick]$ php-4.3.3RC1 <?php class Class { var $property = "some value"; var $property = "some other value"; } ?> PHP Parse error: parse error, expecting `T_STRING' in - on line 2 Previous Comments: ------------------------------------------------------------------------ [2003-06-29 12:52:56] xbite at exonium dot net Description: ------------ If you redefine class property, you don't get any errors. Reproduce code: --------------- class Class { var $property = "some value"; var $property = "some other value"; } Expected result: ---------------- PHP should generate an error. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24388&edit=1