Re: Constant Function
| From: | Henrik Hansen | Date: | Sun, 07 Oct 2001 21:36:13 +0000 |
| Subject: | Re: Constant Function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70301@lists.php.net to get a copy of this message | ||
m.k.evans@btinternet.com (Mark Evans) wrote:
> Hi
>
> I use the constant() function in one of my applications.
>
> I have a customer that wants to use my application on PHP3.
>
> The problem I have is that the constant() function was not introduced until
> 4.0.4.
>
> Can anyone suggest a similar function that works with PHP3 and up?
>
hmm you even use constant() in the first place?
echo CONSTANT; gives the value of CONSTANT.
--
Henrik Hansen