Personally, I think I would code that as
return !!$status;
but that's probably a little too idiomatic for this OP.
In reply to Re: Re: variable set to 0 ? 0 : 1
by BrowserUk
in thread variable set to 0 ? 0 : 1
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |