3v4l.org

run code in 300+ PHP versions simultaneously
<?php $char = '_'; $if (strpos("_bc597962-ec50-5e34-517c-ac5319b2dcd9", $char) === 0) { echo $char; } if (strpos('_bc597962-ec50-5e34-517c-ac5319b2dcd9', '_') === 0) { echo 'YES'; }
Output for 7.1.0 - 7.1.14, 7.2.0 - 7.2.2
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/P4LBt on line 5
Process exited with code 255.

preferences:
175.49 ms | 1395 KiB | 25 Q