3v4l.org

run code in 300+ PHP versions simultaneously
<?php $multidim = array( 0 => array( 'width' => 444, 'height' => 555, 'name' => 'testname', ) ); $it = new \RecursiveIteratorIterator( new \RecursiveArrayIterator( $this->absoluteSizeVariants ) ); while ($it->valid()) { echo $it->current(); $it->next(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 12
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 12
Branch analysis from position: 20
Branch analysis from position: 12
filename:       /in/BlZOn
function name:  (null)
number of ops:  21
compiled vars:  !0 = $multidim, !1 = $it
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   11     1        NEW                                              $3      'RecursiveIteratorIterator'
          2        NEW                                              $4      'RecursiveArrayIterator'
          3        CHECK_FUNC_ARG                                           
          4        FETCH_THIS                                       $5      
          5        FETCH_OBJ_FUNC_ARG                               $6      $5, 'absoluteSizeVariants'
          6        SEND_FUNC_ARG                                            $6
          7        DO_FCALL                                      0          
          8        SEND_VAR_NO_REF_EX                                       $4
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $3
   12    11      > JMP                                                      ->17
   13    12    >   INIT_METHOD_CALL                                         !1, 'current'
         13        DO_FCALL                                      0  $10     
         14        ECHO                                                     $10
   14    15        INIT_METHOD_CALL                                         !1, 'next'
         16        DO_FCALL                                      0          
   12    17    >   INIT_METHOD_CALL                                         !1, 'valid'
         18        DO_FCALL                                      0  $12     
         19      > JMPNZ                                                    $12, ->12
   15    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.79 ms | 1398 KiB | 13 Q