Re: CONSTANTS and good coding practice

From: Date: Fri, 21 May 2004 14:36:20 +0000
Subject: Re: CONSTANTS and good coding practice
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-186682@lists.php.net to get a copy of this message
yes, constants have global scope also :-) "Craig" <craig@deconstructor.net> wrote in message news:20040521133435.34109.qmail@pb1.pair.com... > 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.....

« previous php.general (#186682) next »