3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $testPeople = array ( "Akey" => "A", "Bkey" => "B", "Ckey" => "C", "Dkey" => "D", "Ekey" => "E",'' => "F",'' => "G",'' => "H" ); echo count($testPeople); foreach($testPeople as $key => $people) { echo $key; if (!isset($key)) echo $people; }
Output for 4.3.0 - 7.2.0
6AkeyBkeyCkeyDkeyEkey