3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=range(1, 500); foreach($a as $k=>$v) { } var_dump(memory_get_usage()); foreach($a as $k=>$v) { $a[$k]++; } var_dump(memory_get_usage());