3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = array(); for ($i = 0; $i < 50000; $i++) $array = array($array); json_encode($array);
Output for 8.4.9 - 8.4.28, 8.5.0 - 8.5.13, 8.6.0

preferences:
18.95 ms | 1164 KiB | 6 Q