2012/8/2 Andrew Faulds <a...@ajf.me>: > Hi, > > Also in JavaScript if in strict mode. Legacy non-strict mode JS doesn't cause > an error though. > > JS's || operator supresses this error though, which is great for e.g. x = x > || new Object();
Could be cool to make this in PHP with the 'or' operator (or not ||)... Which brings us back to the subject... -- Alex Aulbach -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php