3v4l.org

run code in 300+ PHP versions simultaneously
<?php die; function on_shutdown(){ ?><!-- Headers Sent: <?php $file = $line = null; headers_sent($file, $line); echo "\n\t\t$file: $line"; ?> Last Error: <?php echo "\n\t\t"; if(error_get_last()) foreach(error_get_last() as $k=>$v) echo "\n\t\t$k: $v"; else echo "\n\t\tnone"; ?> Included Files: <?php echo "\n\t\t"; echo implode("\n\t\t", get_included_files()); ?> --><?php } register_shutdown_function('on_shutdown'); while(ob_get_level())ob_end_clean(); ob_implicit_flush(true);

preferences:
53.78 ms | 402 KiB | 5 Q