Re: define constants within functions?

From: Date: Wed, 11 Aug 2004 06:40:15 +0000
Subject: Re: define constants within functions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-193427@lists.php.net to get a copy of this message
Sure, define them outside the function :) "Justin French" <justin.french@indent.com.au> wrote in message news:92A2CA4C-EAD7-11D8-B2D8-000A9579CE3A@indent.com.au... > If I define a constant within a function, it appears that the constant > is only defined within the namespace of the function. Fair enough. > > Can I globalise these definitions? > > --- > Justin French > http://indent.com.au

« previous php.general (#193427) next »