3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $testPeople = array ( NULL => "F", NULL => "G", NULL => "H", "a" => "A", "b" => "B", "c" => "C", "d" => "D", "e" => "E" ); echo count($testPeople); foreach($testPeople as $key => $people) { echo $key; echo $people; }
based on f3JNJ
Output for 4.3.0 - 7.2.0
6HaAbBcCdDeE