3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 1024 * 128; $loops = 10000; for ($i = 0; $i < $count; $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 = 11, Position 2 = 4
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 13
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 13
Branch analysis from position: 25
Branch analysis from position: 13
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
Branch analysis from position: 4
filename:       /in/5a6dO
function name:  (null)
number of ops:  26
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    >   IS_SMALLER                                               !2, !0
         10      > JMPNZ                                                    ~11, ->4
    9    11    >   ASSIGN                                                   !2, 0
         12      > JMP                                                      ->23
   10    13    >   NOP                                                      
         14        FAST_CONCAT                                      ~13     'k', !2
         15        UNSET_DIM                                                !3, ~13
   11    16        ADD                                              ~14     !2, !0
         17        ASSIGN                                                   !4, ~14
   12    18        NOP                                                      
         19        FAST_CONCAT                                      ~16     'k', !4
         20        ASSIGN_DIM                                               !3, ~16
         21        OP_DATA                                                  <true>
    9    22        PRE_INC                                                  !2
         23    >   IS_SMALLER                                               !2, !1
         24      > JMPNZ                                                    ~19, ->13
   13    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.91 ms | 1395 KiB | 13 Q