However, in terms of precedents, there are the combined assignment operators such as &=, +=, .=, and so on. They would suggest that
$a ||= $b; should be equivalent to $a = $a || $b; So I don't think ||= in the suggested usage is intuitive. And adding strange automagical meanings to $a = $a || $b || $c; (and so forth) shouldn't even be discussed by sane people ;) On Sat, 2005-10-29 at 13:27 -0700, James Crumpton wrote: > Regardless of what can be said about changing the behavior of '||', the > same isn't true for '||=', as it has no precedence in PHP. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php