3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ = "what"; echo $; ?>
Output for 7.1.0 - 7.2.11
Warning: Unexpected character in input: '' (ASCII=127) state=0 in /in/jo0tq on line 2 Parse error: syntax error, unexpected '=', expecting variable (T_VARIABLE) or '{' or '$' in /in/jo0tq on line 2
Process exited with code 255.
Output for 4.3.0 - 5.6.38, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.0.31
what