Re: CONSTANTS and good coding practice
| From: | Craig | Date: | Fri, 21 May 2004 13:32:22 +0000 |
| Subject: | Re: CONSTANTS and good coding practice | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186677@lists.php.net to get a copy of this message | ||
Have a look here also: http://ie2.php.net/define
"Al" <news@ridersite.org> wrote in message
news:20040521130138.367.qmail@pb1.pair.com...
> Can someone explain to me the value of using defined custom constants,
> in the context of good coding practice.
>
> I don't recall ever seeing define() used in the scripts I've seen and
> only the characteristics are described in the my php book and the php
> manual; but, not the use.
>
> Thanks.....