3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'a' => 'val1', 'b' => array('c'=>68), 'd'=>array('e'=>86) ); $it = new RecursiveIteratorIterator(new RecursiveArrayIterator(new ArrayIterator($data))); foreach ($it as $k=> $var) { printf("%s=%s\n",$k,$var); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 20
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 20
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/ssAto
function name:  (null)
number of ops:  22
compiled vars:  !0 = $data, !1 = $it, !2 = $var, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        NEW                                              $5      'RecursiveIteratorIterator'
          2        NEW                                              $6      'RecursiveArrayIterator'
          3        NEW                                              $7      'ArrayIterator'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0          
          6        SEND_VAR_NO_REF_EX                                       $7
          7        DO_FCALL                                      0          
          8        SEND_VAR_NO_REF_EX                                       $6
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $5
   11    11      > FE_RESET_R                                       $12     !1, ->20
         12    > > FE_FETCH_R                                       ~13     $12, !2, ->20
         13    >   ASSIGN                                                   !3, ~13
   13    14        INIT_FCALL                                               'printf'
         15        SEND_VAL                                                 '%25s%3D%25s%0A'
         16        SEND_VAR                                                 !3
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
   11    19      > JMP                                                      ->12
         20    >   FE_FREE                                                  $12
   15    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.05 ms | 1395 KiB | 15 Q