> Hey,
>
> 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.
>
> Hence I'm proposing a RFC changing the precedences:
> https://wiki.php.net/rfc/concatenation_precedence
>
> Bob

Hey Bob,

if we decide to do this, there should definitely be a deprecation
notice in 7.4, I wouldn't even add a vote option for this, but make it
part of the primary vote.

An alternative to prevent mistakes in this regard is making this a
compile error and requiring parenthesis.

Regards,
Niklas

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

Reply via email to