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))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/naQlW
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arrays
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'iterator_to_array'
          3        NEW                                              $2      'RecursiveIteratorIterator'
          4        NEW                                              $3      'RecursiveArrayIterator'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0          
          7        SEND_VAR_NO_REF_EX                                       $3
          8        DO_FCALL                                      0          
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.28 ms | 1394 KiB | 17 Q