Dot And Bitshift Priority
The dot (concatenation) and bitshift (<< and >>) operators have a distinct priority in PHP
PHP code
<?php
echo 3 . 4 << 1;
?>
Before
68
After
38
PHP version change
This behavior was deprecated in The behavior of unparenthesized expressions containing both ‘.’ and ‘>>’/‘<<’ will change in PHP 8: ‘<<’/‘>>’ will take a higher precedence.
This behavior changed in 8.0.