3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('banana','apple','banana','banana','apple'); asort($a); print_r($a);

preferences:
70.85 ms | 402 KiB | 5 Q