3v4l.org

run code in 500+ PHP versions simultaneously
<?php $v = Array( 'ccrs_date', Array( 'prelim_title_report_date', Array( 'additional_escrow_deposit_date', Array( 'earnest_money_date', Array( 'acceptance_date', Array( 'contract_date', Array( 'prelim_title_report_date', 'test' ), Array( 'test2' ) ) ) ) ) ) ); $ri = new RecursiveIteratorIterator(new RecursiveArrayIterator($v)); print_r(iterator_to_array($ri, false));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6Ve93
function name:  (null)
number of ops:  16
compiled vars:  !0 = $v, !1 = $ri
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   33     1        NEW                                                  $3      'RecursiveIteratorIterator'
          2        NEW                                                  $4      'RecursiveArrayIterator'
          3        SEND_VAR_EX                                                  !0
          4        DO_FCALL                                          0          
          5        SEND_VAR_NO_REF_EX                                           $4
          6        DO_FCALL                                          0          
          7        ASSIGN                                                       !1, $3
   34     8        INIT_FCALL                                                   'print_r'
          9        INIT_FCALL                                                   'iterator_to_array'
         10        SEND_VAR                                                     !1
         11        SEND_VAL                                                     <false>
         12        DO_ICALL                                             $8      
         13        SEND_VAR                                                     $8
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.59 ms | 2147 KiB | 15 Q