3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ "Zahid" echo "I am cricketer"; echo $Zahid; ?>
Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.21, 8.3.0 - 8.3.9
Parse error: syntax error, unexpected double-quoted string "Zahid", expecting variable or "{" or "$" in /in/OFGQp on line 2
Process exited with code 255.

preferences:
153.12 ms | 1431 KiB | 7 Q