3v4l.org

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

preferences:
29.82 ms | 404 KiB | 5 Q