I guess it doesn't know what 'b' is and deems it to be '0'
If you are testing a variable ($b) try this
<?
if (isset($b)) {
print("set");
}else {
print("not set");
}
?>
I use PHP4 so I hope this function works with PHP3
let me know if thats not what you were after.
Nick