3v4l.org

run code in 300+ PHP versions simultaneously
<?php $alphabet=array("D", "A","C"); $x=count($alphabet); echo $x; echo "<br>"; echo $alphabet[1]; echo "<br>"; sort($alphabet); echo $alphabet[2]; ?>

preferences:
47.84 ms | 402 KiB | 5 Q