3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new SplFixedArray(5000); for($i = 0; $i < 5000; $i++) { $a[] = $i; }
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 = 6
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 6
Branch analysis from position: 11
Branch analysis from position: 6
filename:       /in/KNIf8
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'SplFixedArray'
          1        SEND_VAL_EX                                              5000
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    3     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->9
    4     6    >   ASSIGN_DIM                                               !0
          7        OP_DATA                                                  !1
    3     8        PRE_INC                                                  !1
          9    >   IS_SMALLER                                               !1, 5000
         10      > JMPNZ                                                    ~8, ->6
    5    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.44 ms | 1392 KiB | 13 Q