ID:               15682
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Class/Object related
 Operating System: WinXP
 PHP Version:      4.1.1
 New Comment:

class foo {

var $bar = E_ALL & ~E_NOTICE;

}

Obviously a scalar value (assigning a single value works perfectly),
but
the following appears when it comes to execution:

Parse error: parse error, expecting "," or ";"


Previous Comments:
------------------------------------------------------------------------

[2002-02-22 17:14:17] [EMAIL PROTECTED]

class foo {

$var bar = E_ALL & ~E_NOTICE;

}

Obviously a scalar value (assigning a single value works perfectly),
but the following appears when it comes to execution:

Parse error: parse error, expecting "," or ";"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15682&edit=1

Reply via email to