3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( '{!' . (string)2 + 1 . '}' ); // The "." and "+" have the same precedence, so how operations are grouped // comes down to their associativity. Left associativity means the operations // were grouped like: var_dump( (('{!' . (string)2) + 1) . '}' );

preferences:
40.66 ms | 402 KiB | 5 Q