3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array(); for ($i = 0; $i < 100000; $i++) { $data[$i] = $i; } while (list($k, $v) = each($data)) { continue; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 3
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 9
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 3
Branch analysis from position: 8
Branch analysis from position: 3
filename:       /in/iQo51
function name:  (null)
number of ops:  19
compiled vars:  !0 = $data, !1 = $i, !2 = $k, !3 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->6
    4     3    >   ASSIGN_DIM                                               !0, !1
          4        OP_DATA                                                  !1
    3     5        PRE_INC                                                  !1
          6    >   IS_SMALLER                                               !1, 100000
          7      > JMPNZ                                                    ~8, ->3
    9     8    > > JMP                                                      ->10
   10     9    > > JMP                                                      ->10
    9    10    >   INIT_FCALL_BY_NAME                                       'each'
         11        SEND_VAR_EX                                              !0
         12        DO_FCALL                                      0  $9      
         13        FETCH_LIST_R                                     $10     $9, 0
         14        ASSIGN                                                   !2, $10
         15        FETCH_LIST_R                                     $12     $9, 1
         16        ASSIGN                                                   !3, $12
         17      > JMPNZ                                                    $9, ->9
   11    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.38 ms | 1394 KiB | 16 Q