note 76290 deleted from language.types.null by cmb

From: Date: Sat, 07 Nov 2020 18:34:57 +0000
Subject: note 76290 deleted from language.types.null by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215825@lists.php.net to get a copy of this message
Note Submitter: nl-x at bita dot nl ---- Watch out. You can define a new constant with the name NULL with define("NULL","FOO");. But you must use the function constant("NULL"); to get it's value. NULL without the function call to the constant() function will still retrieve the special type NULL value. Within a class there is no problem, as const NULL="Foo"; will be accessible as myClass::NULL.

« previous php.notes (#215825) next »