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

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to