note 15053 added to language.constants.php
| From: | carl at NOSPAM dot thep dot lu dot se | Date: | Sat, 25 Aug 2001 21:10:13 +0000 |
| Subject: | note 15053 added to language.constants.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17141@lists.php.net to get a copy of this message | ||
Major difference between PHP3 and PHP4:
If you define a function that uses some constant C before you
define() C, C will be undefined in the function in PHP3 but not
in PHP4. Thus constants are more pre-processor-ish in PHP3,
but probably more useful in PHP4.
http://www.php.net/manual/en/language.constants.php