3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contents = "<?php echo 'Hello World'; ?> "; file_put_contents('/tmp/test.php', $contents); ob_start(); include('/tmp/test.php'); echo 'end'; $output = ob_get_contents(); echo md5($output);

preferences:
37.33 ms | 402 KiB | 5 Q