3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parameters = array_fill(0, 100000, "test"); $orderedParameters = array(); $parameters_count = count($parameters); for ($i = 0; $i < $parameters_count; $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 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 11
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 11
Branch analysis from position: 19
Branch analysis from position: 11
Branch analysis from position: 16
filename:       /in/4kKbE
function name:  (null)
number of ops:  20
compiled vars:  !0 = $parameters, !1 = $orderedParameters, !2 = $parameters_count, !3 = $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                                         $4      
          5        ASSIGN                                                   !0, $4
    3     6        ASSIGN                                                   !1, <array>
    4     7        COUNT                                            ~7      !0
          8        ASSIGN                                                   !2, ~7
    5     9        ASSIGN                                                   !3, 0
         10      > JMP                                                      ->17
    6    11    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~10     !1, !3
         12        BOOL_NOT                                         ~11     ~10
         13      > JMPZ                                                     ~11, ->16
    7    14    >   ASSIGN_DIM                                               !1, !3
         15        OP_DATA                                                  <array>
    5    16    >   PRE_INC                                                  !3
         17    >   IS_SMALLER                                               !3, !2
         18      > JMPNZ                                                    ~14, ->11
    9    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.49 ms | 1395 KiB | 15 Q