Re: Re: RFE: $HTTP_POST_VARS =& $_POST;

From: Date: Fri, 25 Jan 2002 21:48:54 +0000
Subject: Re: Re: RFE: $HTTP_POST_VARS =& $_POST;
References: 1 2  Groups: php.dev php.general 
Request: Send a blank email to php-dev+get-78150@lists.php.net to get a copy of this message
"Andi Gutmans" <andi@zend.com> wrote > PHP 5 per-class constants can already except static arrays such as > array(1, 2, 3) as their value. I'll put the issue of global constants on > my TODO and believe PHP 5 will also support these for global constants. > However, you won't be able to create a constant with a non-constant value > such as $_GET as this goes against the whole idea of constant :) This is not true to my mind. define ("INC_DIR",$foo); this "Constant" is not predefined by the developer, BUT it is a constant-value for the rest of the script. To my mind such "constants" make sense, because - they are global - they can't change their value while execution - it doesn't matter if the constant-value is set dynamically when defining it So I would be glad to see this feature in PHP5. Christian Dickmann

« previous php.dev (#78150) next »