3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [1, [2, 3]]; $array[1][1] = &$array; count($array, COUNT_RECURSIVE);

preferences:
25.71 ms | 404 KiB | 5 Q