3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array_fill(0, 10000, "some text value"); while ( list($key, $value) = each($array) ) $array[$key];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 7
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 7
Branch analysis from position: 17
Branch analysis from position: 7
filename:       /in/Zli3q
function name:  (null)
number of ops:  18
compiled vars:  !0 = $array, !1 = $key, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_fill'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 10000
          3        SEND_VAL                                                 'some+text+value'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !0, $3
    5     6      > JMP                                                      ->9
    6     7    >   FETCH_DIM_R                                      ~5      !0, !1
          8        FREE                                                     ~5
    5     9    >   INIT_FCALL_BY_NAME                                       'each'
         10        SEND_VAR_EX                                              !0
         11        DO_FCALL                                      0  $6      
         12        FETCH_LIST_R                                     $7      $6, 0
         13        ASSIGN                                                   !1, $7
         14        FETCH_LIST_R                                     $9      $6, 1
         15        ASSIGN                                                   !2, $9
         16      > JMPNZ                                                    $6, ->7
    6    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.4 ms | 1395 KiB | 15 Q