[UPHPU] short syntax without the else?

Dave Smith dave at thesmithfam.org
Sun Jan 20 20:17:53 MST 2008


Dave Smith wrote:
>   $x = ( $y == 1 );

Oh, and as an addendum, I highly recommend aggressive use of parentheses 
to help convey meaning to readers (like my example above shows), not to 
mention to avoid pitfalls with funky order-of-operations.

--Dave


More information about the UPHPU mailing list