Bug #15682: Bitwise concatenation of constants in class variables

From: Date: Fri, 22 Feb 2002 22:14:18 +0000
Subject: Bug #15682: Bitwise concatenation of constants in class variables
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-848@lists.php.net to get a copy of this message
From: s-m-k@gmx.net Operating system: WinXP PHP version: 4.1.1 PHP Bug Type: Class/Object related Bug description: Bitwise concatenation of constants in class variables 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 bug report at http://bugs.php.net/?id=15682&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15682&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15682&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15682&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15682&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15682&r=support Expected behavior: http://bugs.php.net/fix.php?id=15682&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15682&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15682&r=submittedtwice

« previous php.bugs (#848) next »