3v4l.org

run code in 300+ PHP versions simultaneously
<?php $miVariable = 'Hola mundo' print(miVariable)
Output for 8.2.0 - 8.2.27, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
Parse error: syntax error, unexpected token "print" in /in/CHAFu on line 5
Process exited with code 255.

preferences:
154.94 ms | 953 KiB | 7 Q