3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 1024 * 128; $loops = 10000; for ($i = 0; $i < $count + 1; $i++) { $a["k$i"] = TRUE; } for ($i = 0; $i < $loops; $i++) { unset($a["k$i"]); $j = $i + $count; $a["k$j"] = TRUE; }
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 = 12, Position 2 = 4
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 14
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 14
Branch analysis from position: 26
Branch analysis from position: 14
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 4
Branch analysis from position: 12
Branch analysis from position: 4
filename:       /in/9X3Xe
function name:  (null)
number of ops:  27
compiled vars:  !0 = $count, !1 = $loops, !2 = $i, !3 = $a, !4 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 131072
    4     1        ASSIGN                                                   !1, 10000
    5     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->9
    6     4    >   NOP                                                      
          5        FAST_CONCAT                                      ~8      'k', !2
          6        ASSIGN_DIM                                               !3, ~8
          7        OP_DATA                                                  <true>
    5     8        PRE_INC                                                  !2
          9    >   ADD                                              ~11     !0, 1
         10        IS_SMALLER                                               !2, ~11
         11      > JMPNZ                                                    ~12, ->4
    9    12    >   ASSIGN                                                   !2, 0
         13      > JMP                                                      ->24
   10    14    >   NOP                                                      
         15        FAST_CONCAT                                      ~14     'k', !2
         16        UNSET_DIM                                                !3, ~14
   11    17        ADD                                              ~15     !2, !0
         18        ASSIGN                                                   !4, ~15
   12    19        NOP                                                      
         20        FAST_CONCAT                                      ~17     'k', !4
         21        ASSIGN_DIM                                               !3, ~17
         22        OP_DATA                                                  <true>
    9    23        PRE_INC                                                  !2
         24    >   IS_SMALLER                                               !2, !1
         25      > JMPNZ                                                    ~20, ->14
   13    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.96 ms | 1000 KiB | 13 Q