3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=0; $tmp=''; while($i<10000) { $tmp.='a'; ++$i; } $test = array_fill(100000000000000000000000, 100, $tmp); for($a=0; $a<count($test); $a++){} ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 3
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 15
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 15
Branch analysis from position: 19
Branch analysis from position: 15
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 3
Branch analysis from position: 7
Branch analysis from position: 3
filename:       /in/eEHGG
function name:  (null)
number of ops:  20
compiled vars:  !0 = $i, !1 = $tmp, !2 = $test, !3 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, ''
    4     2      > JMP                                                      ->5
    6     3    >   ASSIGN_OP                                     8          !1, 'a'
    7     4        PRE_INC                                                  !0
    4     5    >   IS_SMALLER                                               !0, 10000
          6      > JMPNZ                                                    ~8, ->3
    9     7    >   INIT_FCALL                                               'array_fill'
          8        SEND_VAL                                                 1.0e+23
          9        SEND_VAL                                                 100
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !2, $9
   10    13        ASSIGN                                                   !3, 0
         14      > JMP                                                      ->16
         15    >   PRE_INC                                                  !3
         16    >   COUNT                                            ~13     !2
         17        IS_SMALLER                                               !3, ~13
         18      > JMPNZ                                                    ~14, ->15
   11    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.34 ms | 1395 KiB | 15 Q