note 27313 deleted from language.operators.comparison by sniper

From: Date: Mon, 13 Oct 2003 00:17:35 +0000
Subject: note 27313 deleted from language.operators.comparison by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58440@lists.php.net to get a copy of this message
Note Submitter: michael at hotmail or so dot com ---- Be careful that !== is not the exact opposite of == While == checks only the contents, !== checks both contents and type. The following example will print out both "is empty" and "is not empty": $a = NULL; if ($a == "") {echo "is empty ";} if ($a !== "") {echo "is not empty";}

« previous php.notes (#58440) next »