note 34342 added to language.constants

From: Date: Thu, 24 Jul 2003 11:57:17 +0000
Subject: note 34342 added to language.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-52550@lists.php.net to get a copy of this message
Just a quick (albeit late) reply to alexatcite dot gda dot itesm dot mx: You can't do that because "empty" is a reserved word, it's a function that returns true if the variable you pass it is empty. Name your constant anything else (that is, anything other than a reserved word, function name, etc.) and it should work fine. ---- Manual Page -- http://www.php.net/manual/en/language.constants.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34342 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34342&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34342&report=yes

« previous php.notes (#52550) next »