3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ "parent" => [ "title" => null ] ]; var_dump(iterator_to_array(new RecursiveIterator(new ArrayIterator($array)), true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NV93A
function name:  (null)
number of ops:  15
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'iterator_to_array'
          3        NEW                                              $2      'RecursiveIterator'
          4        NEW                                              $3      'ArrayIterator'
          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        SEND_VAL                                                 <true>
         11        DO_ICALL                                         $6      
         12        SEND_VAR                                                 $6
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.48 ms | 1394 KiB | 17 Q