3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function do ($f) {} $g = 4; do ($g); echo $g;
based on t3IiX
Output for 5.6.38 - 7.3.0rc3
Parse error: syntax error, unexpected 'do' (T_DO), expecting '(' in /in/65Epi on line 2
Process exited with code 255.