3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myarray = array("Apples", "Oranges", "Pears"); $size = count($myarray); $output = print_r($myarray, true); print $output; ?>

preferences:
52.04 ms | 402 KiB | 5 Q