3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $aap = "1"; $$aap = "mies"; $noot = "1"; $hoi = "echo $$noot;"; echo eval($$noot); ?>
based on BRhDj
Output for 7.0.0 - 7.3.0alpha1
Parse error: syntax error, unexpected end of file in /in/hvD6W(7) : eval()'d code on line 1
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: syntax error, unexpected $end in /in/hvD6W(7)(89d03c2ebdb43ad00404c2be00f2427f) : eval()'d code on line 1
Output for 5.6.0 - 5.6.30
Parse error: syntax error, unexpected end of file in /in/hvD6W(7) : eval()'d code on line 1