3v4l.org

run code in 500+ PHP versions simultaneously
<?php $className = 'App\Service\Adapter\' . 'b'; echo $className;
Output for 8.3.5
Parse error: syntax error, unexpected string content "b';" in /in/OoJ82 on line 3
Process exited with code 255.
Output for 7.1.0 - 7.1.16, 7.2.0 - 7.2.4
Parse error: syntax error, unexpected 'b';' (T_ENCAPSED_AND_WHITESPACE) in /in/OoJ82 on line 3
Process exited with code 255.

preferences:
49.43 ms | 580 KiB | 3 Q