3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arrays = array( array('one', 1 => 'two', 2 => 'three' ), array('four', 1 => 'five', 2 => 'six' ), array( 0 => 'seven', 1 => 'eight', 2 => 'nine' ), ); print_r(iterator_to_array(new RecursiveIteratorIterator(new RecursiveArrayIterator($arrays)), true));

preferences:
39.11 ms | 402 KiB | 5 Q