3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parameters = array_fill(0, 100000, "test"); $orderedParameters = array(); for ($i = 0; $i < count($parameters); $i++) { if (!isset($orderedParameters[$i])) { $orderedParameters[$i] = array('parameter' => array('type' => 'null')); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 9
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 9
Branch analysis from position: 18
Branch analysis from position: 9
Branch analysis from position: 14
filename:       /in/lnNnf
function name:  (null)
number of ops:  19
compiled vars:  !0 = $parameters, !1 = $orderedParameters, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'array_fill'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 100000
          3        SEND_VAL                                                 'test'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !0, $3
    3     6        ASSIGN                                                   !1, <array>
    4     7        ASSIGN                                                   !2, 0
          8      > JMP                                                      ->15
    5     9    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~7      !1, !2
         10        BOOL_NOT                                         ~8      ~7
         11      > JMPZ                                                     ~8, ->14
    6    12    >   ASSIGN_DIM                                               !1, !2
         13        OP_DATA                                                  <array>
    4    14    >   PRE_INC                                                  !2
         15    >   COUNT                                            ~11     !0
         16        IS_SMALLER                                               !2, ~11
         17      > JMPNZ                                                    ~12, ->9
    8    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.29 ms | 1395 KiB | 15 Q