Contact: aviboots(AT)netvision.net.il
38,169 questions
49,785 answers
573 users
$var = 0; if (empty($var)) echo '$var is 0, empty, or not set'; /* run: $var is 0, empty, or not set */
$var = 99; if (empty($var)) echo '$var is 0, empty, or not set'; else echo '$var is not empty'; /* run: $var is not empty */
$var = 0; if (isset($var)) echo '$var is set but it is empty'; /* run: $var is set but it is empty */