Bug #15682 Updated: Bitwise concatenation of constants in class variables

From: Date: Fri, 22 Feb 2002 22:15:40 +0000
Subject: Bug #15682 Updated: Bitwise concatenation of constants in class variables
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-847@lists.php.net to get a copy of this message
ID: 15682 Updated by: s-m-k@gmx.net Reported By: s-m-k@gmx.net 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] s-m-k@gmx.net 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

« previous php.bugs (#847) next »