Hi!

> I feel like concatenation having the same precedence than addition
> and subtraction is promoting programmers to make mistakes. Albeit
> typically easy to catch ones, it is a quality of life change at
> least.

Changing operator precedence is usually a very bad idea, because it
tends to break code in random places that are very hard to detect.
Unless there's a huge reason to do it - and eliminating a couple of
parentheses is usually not - I'd stay away from such things. If you have
any doubts about precedence - just put the parentheses and forget about it.

-- 
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