3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 1; $$a = 1; $$a++ = 2; var_dump($1); var_dump($a); var_dump($2);
Output for 5.2.15 - 5.4.19
Parse error: syntax error, unexpected '=' in /in/B58Rh on line 4
Process exited with code 255.