Hi!

> It'd be swell if PHP's ternary matched other languages, but it doesn't, and
> we have 20 years of code in the wild which has accepted that fact and moved
> on.  I don't see the benefit in breaking that code. Advise the use of
> parentheses and move on.

Exactly.

-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to