note 3458 deleted from language.constants by sniper

From: Date: Wed, 23 Oct 2002 00:41:08 +0000
Subject: note 3458 deleted from language.constants by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38439@lists.php.net to get a copy of this message
You can't define a constant that is another constant. In the same versions where define('FOO', TRUE) won't work, neither will define ('BAR', __LINE__). At least one of the DOS versions of php3 reliably demonstrates this behaviour. I'd call it a "no-no" to try and define a constant based on another constant.

« previous php.notes (#38439) next »