redefine constants

From: Date: Wed, 28 Feb 2001 16:12:33 +0000
Subject: redefine constants
Groups: php.general 
Request: Send a blank email to php-general+get-42023@lists.php.net to get a copy of this message
why can't I redefine __LINE__? like define(LN,__LINE__); it's a rather big constant to put in code to generate my error messages, I was thinking more of L, or LN... but if I redefine it, it assumes the value of de redefine() line of code... so it's not really redefining a constant it's only atributing LN the value of __LINE__... and in the manual I saw examples where redefining constants were used... ____________________________ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer

« previous php.general (#42023) next »