3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (isset($fromRequire)) { return; function xxx() {} return; } for ($i = 0; $i < 10 * 1000; $i++) { $fromRequire = true; require __FILE__; if (($i % (1000)) === 0) { gc_collect_cycles(); echo round(memory_get_usage() / (1024 * 1024), 3) . " MiB\n"; } }

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
48.05 ms | 998 KiB | 4 Q