3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = array(); for ( $i = 0, $max = 10; $i < $max; $line[$i++] = 0 ) var_dump($line);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 4
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 4
Branch analysis from position: 12
Branch analysis from position: 4
filename:       /in/4vnoT
function name:  (null)
number of ops:  13
compiled vars:  !0 = $line, !1 = $i, !2 = $max
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 0
          2        ASSIGN                                                   !2, 10
          3      > JMP                                                      ->10
    5     4    >   INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    4     7        POST_INC                                         ~7      !1
          8        ASSIGN_DIM                                               !0, ~7
          9        OP_DATA                                                  0
         10    >   IS_SMALLER                                               !1, !2
         11      > JMPNZ                                                    ~9, ->4
    5    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.89 ms | 1398 KiB | 15 Q