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); foreach($aHash as $val);
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
2 jumps found. (Code = 77) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
2 jumps found. (Code = 78) Position 1 = 21, Position 2 = 22
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
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/V7BMO
function name:  (null)
number of ops:  24
compiled vars:  !0 = $aHash, !1 = $i, !2 = $tmp, !3 = $val
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                                                    ~8, ->4
   12     8    >   INIT_FCALL                                               'array_fill'
          9        SEND_VAL                                                 1.0e+23
         10        SEND_VAL                                                 100
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $9      
         13        ASSIGN                                                   !0, $9
   13    14        UNSET_CV                                                 !1
         15        UNSET_CV                                                 !2
   15    16        INIT_FCALL                                               'reset'
         17        SEND_REF                                                 !0
         18        DO_ICALL                                                 
   16    19      > FE_RESET_R                                       $12     !0, ->22
         20    > > FE_FETCH_R                                               $12, !3, ->22
         21    > > JMP                                                      ->20
         22    >   FE_FREE                                                  $12
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
206.18 ms | 1395 KiB | 17 Q