3v4l.org

run code in 300+ PHP versions simultaneously
<?php function runNext() { $handle = fopen(__FILE__, 'r'); fseek($handle, __COMPILER_HALT_OFFSET__); return eval('?><?php ' . stream_get_contents($handle)); } runNext(); __halt_compiler(); var_dump('hello'); runNext(); __halt_compiler(); var_dump('world');

Abusive script

This script was stopped while abusing our resources


preferences:
115.69 ms | 406 KiB | 5 Q