3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [2015 => '2015'], [2016 => '2016'], [2017 => '2017'], [2018 => '2018'], [2019 => '2019'], [2020 => '2020'], [2021 => '2021'], [2022 => '2022'], [2023 => '2023'] ]; var_export( iterator_to_array( new RecursiveIteratorIterator( new RecursiveArrayIterator($array) ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JQksc
function name:  (null)
number of ops:  14
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   15     1        INIT_FCALL                                               'var_export'
   16     2        INIT_FCALL                                               'iterator_to_array'
   17     3        NEW                                              $2      'RecursiveIteratorIterator'
   18     4        NEW                                              $3      'RecursiveArrayIterator'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0          
          7        SEND_VAR_NO_REF_EX                                       $3
   17     8        DO_FCALL                                      0          
   18     9        SEND_VAR                                                 $2
   16    10        DO_ICALL                                         $6      
   18    11        SEND_VAR                                                 $6
   15    12        DO_ICALL                                                 
   21    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.85 ms | 997 KiB | 15 Q