note 8679 deleted from defined by ronabop

From: Date: Thu, 02 Nov 2000 06:38:53 +0000
Subject: note 8679 deleted from defined by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-7262@lists.php.net to get a copy of this message
The DEFINED() function takes a string argument. Generally, you want to enclose the constant's name in double quotes, that is: if (DEFINED("MY_CONSTANT")) If you forget to do this, e.g. if (DEFINED(MY_CONSTANT)) you will probably not get the results you want.

« previous php.notes (#7262) next »