3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $myarray = array("a"=>"Apples", "b"=>"Oranges", "c"=>"Pears"); $size = count($myarray); var_dump($myarray); ?>
based on kcZ6O
Output for 4.3.0 - 7.2.0
array(3) { ["a"]=> string(6) "Apples" ["b"]=> string(7) "Oranges" ["c"]=> string(5) "Pears" }