3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $myarray = array("Apples", "Oranges", "Pears"); $size = count($myarray); var_export($myarray); ?>
based on 48Vl2
Output for 4.3.0 - 7.2.0
array ( 0 => 'Apples', 1 => 'Oranges', 2 => 'Pears', )