3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ( $i = 0; $i < 9000; $i++ ) { $test_array[ "key$i" ] = $i; } $test1 = $test_array; for ( $i = 0; $i < 9000; $i++ ) { $k = key($test1); $dummy = $test1[$k]; unset($test1[$k]); }
based on 15D8C
Output for 4.3.0 - 7.2.0