Correction:

> guard (null !== $x = foo()) { return; }
> // No benefit over
> if (null !== $x = foo()) { return; }

My example was wrong, should've been:

> if (null === $x = foo()) { return; }

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to