note 27179 rejected from language.constants by didou

From: Date: Thu, 24 Jul 2003 12:25:35 +0000
Subject: note 27179 rejected from language.constants by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52558@lists.php.net to get a copy of this message
Note Submitter: alexatcite.gda.itesm.mx ---- I got some weird behavior when initializing variables with constants. For some reason the following code works perfectly: $status |= STAGEONE; $status &= EMPTY; where both constants are integers. But I can't seem to do this: $status = EMPTY; I found a way around it: $status = constant ('EMPTY'); but I wonder why this is so...

« previous php.notes (#52558) next »