forked from z7zmey/php-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
PHP 8PHP 8 featuresPHP 8 features
Description
RFC: https://wiki.php.net/rfc/concatenation_precedence
See: https://github.com/php/php-src/pull/4002/files
Example:
echo "sum: " . $a + $b;
// PHP would previously interpret it like this:
echo ("sum: " . $a) + $b;
// PHP 8 will make it so that it's interpreted like this:
echo "sum: " . ($a + $b);Metadata
Metadata
Assignees
Labels
PHP 8PHP 8 featuresPHP 8 features