On Wed, 2002-02-13 at 17:22, Evan Nemerson wrote: > I was thinking about putting together a list of constants, their purpose, > what version of PHP they initially appeared in, etc. > > So far, I have figured out a function called "REGISTER_LONG_CONSTANT" is > used, or a constant is defined in the source with a name that has a > preceeding "PHP_" (eg "PHP_RAND_MAX"- which is 2^31??? why not 2^32? sorry > off the point.) Are there any other ways? Are these ways inaccurate? > > Please reply to my e-mail address ([EMAIL PROTECTED]). I don't subscribe > to this list. > > > Evan Nemerson
I've committed a list of (almost) all predefined constants and classes to the phpdoc cvs. There is a bit more work to be done before the list makes it into the online manual, but you can either check out phpdoc from cvs, or view it online here: http://cvs.php.net/co.php/phpdoc/en/appendices/predefined.xml?r=1.3 Warning: it's a long list. There are over a thousand predefined constants, all told. :) Comments welcome (from Evan and from anybody else reading this...) -- Torben Wilson <[EMAIL PROTECTED]> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php