3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function abc($a) { unset($a[1]); } $a = range(1, 5000); echo memory_get_peak_usage(true), "\n"; abc($a); echo memory_get_peak_usage(true), "\n";