> apparently, session_is_registered and isset return null if 
> they evaluate to
> false.  I was expecting boolean true and false return values, 

What you were expecting is correct, boolean true/false. However, it appears
that PHP converts these values to strings during the echo. true converts to
the string 1, while a false string is the empty (null) string.

<?
$a = true;
echo "a is $a <br>";
$a = false;
echo "a is $a <br>";
?>

Kirk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to