in reply to another variation (variable set to 0 ? 0 : 1)
in thread variable set to 0 ? 0 : 1
return $status && 1; # canonize false, leave true as-is
That would be great except it doesn't canonize false. It returns $status if $status is false. So, for example, if $status is "" it will return "", not 0.
-sauoq "My two cents aren't worth a dime.";
|
|---|