in reply to Better expression for $x = !!$y||0
It also doesn't require the reader to know that negating a false value returns 1 (and not some other true value).