3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php while(1){echo"> ";$i=rtrim(stream_get_line(STDIN,512,PHP_EOL),';');try{@eval('print_r('.$i.');');}catch(Exception$e){print_r($e);}echo"\n";}
based on grIYs