3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Initial Configuration global $aHash; $i = 0; $tmp = ''; while($i < 10000) { $tmp .= 'a'; ++$i; } $aHash = array_fill(100000000000000000000000, 100, $tmp); unset($i, $tmp); reset($aHash); $key = array_keys($aHash); $size = sizeOf($key); for ($i=0; $i<$size; $i++) $tmp[] = $aHash[$key[$i]];
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 = 4
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 27
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 27
Branch analysis from position: 34
Branch analysis from position: 27
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 4
Branch analysis from position: 8
Branch analysis from position: 4
filename:       /in/0ZEDS
function name:  (null)
number of ops:  35
compiled vars:  !0 = $aHash, !1 = $i, !2 = $tmp, !3 = $key, !4 = $size
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   BIND_GLOBAL                                              !0, 'aHash'
    5     1        ASSIGN                                                   !1, 0
    6     2        ASSIGN                                                   !2, ''
    7     3      > JMP                                                      ->6
    8     4    >   ASSIGN_OP                                     8          !2, 'a'
    9     5        PRE_INC                                                  !1
    7     6    >   IS_SMALLER                                               !1, 10000
          7      > JMPNZ                                                    ~9, ->4
   12     8    >   INIT_FCALL                                               'array_fill'
          9        SEND_VAL                                                 1.0e+23
         10        SEND_VAL                                                 100
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $10     
         13        ASSIGN                                                   !0, $10
   13    14        UNSET_CV                                                 !1
         15        UNSET_CV                                                 !2
   14    16        INIT_FCALL                                               'reset'
         17        SEND_REF                                                 !0
         18        DO_ICALL                                                 
   15    19        INIT_FCALL                                               'array_keys'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                         $13     
         22        ASSIGN                                                   !3, $13
   16    23        COUNT                                            ~15     !3
         24        ASSIGN                                                   !4, ~15
   17    25        ASSIGN                                                   !1, 0
         26      > JMP                                                      ->32
         27    >   FETCH_DIM_R                                      ~19     !3, !1
         28        FETCH_DIM_R                                      ~20     !0, ~19
         29        ASSIGN_DIM                                               !2
         30        OP_DATA                                                  ~20
         31        PRE_INC                                                  !1
         32    >   IS_SMALLER                                               !1, !4
         33      > JMPNZ                                                    ~22, ->27
         34    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.28 ms | 1396 KiB | 19 Q