Re: get all defined constants?

From: Date: Sun, 20 May 2001 02:38:05 +0000
Subject: Re: get all defined constants?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53576@lists.php.net to get a copy of this message
phpinfo() allways has a list of variables. but of course every variable is allways in $GLOBALS too. -- Chris Lee lee@mediawaveonline.com "Alex Black" <enigma@turingstudio.com> wrote in message news:B72C405A.A19F%enigma@turingstudio.com... > hi all, > > can't find a function for getting a complete list of defined constants. > this exists for classes, I think it must for constants even if it is > undocumented. > > I'm writing a bit of debug code, and I'd rather not build a bunch of > implicit knowledge about my set of constants into the code - I'd like to > just dump everything in my environment onto the page. > > please respond to me @ enigma@turingstudio.com > > tia all, > > _alex > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#53576) next »