note 30135 deleted from function.define by didou
| From: | didou@php.net | Date: | Fri, 12 Sep 2003 12:14:18 +0000 |
| Subject: | note 30135 deleted from function.define by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56373@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Please note that constants are indeed constants, and cannot be overwritten - even with another
define() call.
define('FOO', 'bar');
define('FOO', 'baz');
echo FOO;
This will output bar and issue a notice "Constant FOO already defined".