3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $mycars = array("Blue" => array("Car1","Car2"), "Red" => array("Car3")); print_r($mycars);
Output for 4.3.0 - 7.1.0
Array ( [Blue] => Array ( [0] => Car1 [1] => Car2 ) [Red] => Array ( [0] => Car3 ) )