RE: [PHP] Is "Function Constants" the Correct Term?

From: Date: Sun, 18 Jul 2004 15:11:03 +0000
Subject: RE: [PHP] Is "Function Constants" the Correct Term?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190915@lists.php.net to get a copy of this message
The specific statements: From http://us2.php.net/manual/en/language.constants.php 'Once a constant is defined, it can never be changed or undefined.' 'Only scalar data (boolean, integer, float and string) can be contained in constants.' 'Constants may not be redefined or undefined once they have been set' 'Constants may only evaluate to scalar values' Unambiguous. To paraphrase the comments from the old ANSI C group, "Any violation of the rules may cause missles to fly from your nose". Mark C.

« previous php.general (#190915) next »