3v4l.org

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

preferences:
36.53 ms | 402 KiB | 5 Q