note 30135 added to function.define

From: Date: Fri, 07 Mar 2003 10:40:53 +0000
Subject: note 30135 added to function.define
Groups: php.notes 
Request: Send a blank email to php-notes+get-44976@lists.php.net to get a copy of this message
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". -- http://www.php.net/manual/en/function.define.php http://master.php.net/manage/user-notes.php?action=edit+30135 http://master.php.net/manage/user-notes.php?action=delete+30135 http://master.php.net/manage/user-notes.php?action=reject+30135

« previous php.notes (#44976) next »