3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(!empty($_POST)){ if(get_magic_quotes_gpc()) echo eval_php(stripslashes($_POST['content'])); else{ echo eval_php($_POST['content']); } } function eval_php($content) { ob_start(); eval("?>$content<?php "); $output = ob_get_contents(); ob_end_clean(); return $output; } ?>
Output for 4.3.0 - 7.1.0