note 9216 deleted from empty by jmcastagnetto

From: Date: Mon, 23 Oct 2000 10:13:40 +0000
Subject: note 9216 deleted from empty by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-6875@lists.php.net to get a copy of this message
Try this: $test='0'; //zero echo empty($test) ? "True" : "False"; //PHP 3.0 returns "False"; //PHP 4.0 returns "True";

« previous php.notes (#6875) next »