3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array(); $i =0; $j = 0; while($j <6) { while($i <6) { $input[$i] = $i; echo $input[$i]; $i++; } $j++; } $result = array_unique($input); print_r($result); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 4
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 5
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 4
Branch analysis from position: 15
Branch analysis from position: 4
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 5
Branch analysis from position: 12
Branch analysis from position: 5
filename:       /in/SB9FF
function name:  (null)
number of ops:  23
compiled vars:  !0 = $input, !1 = $i, !2 = $j, !3 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
    4     2        ASSIGN                                                   !2, 0
    5     3      > JMP                                                      ->13
    7     4    > > JMP                                                      ->10
    9     5    >   ASSIGN_DIM                                               !0, !1
          6        OP_DATA                                                  !1
   10     7        FETCH_DIM_R                                      ~8      !0, !1
          8        ECHO                                                     ~8
   11     9        PRE_INC                                                  !1
    7    10    >   IS_SMALLER                                               !1, 6
         11      > JMPNZ                                                    ~10, ->5
   14    12    >   PRE_INC                                                  !2
    5    13    >   IS_SMALLER                                               !2, 6
         14      > JMPNZ                                                    ~12, ->4
   16    15    >   INIT_FCALL                                               'array_unique'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $13     
         18        ASSIGN                                                   !3, $13
   17    19        INIT_FCALL                                               'print_r'
         20        SEND_VAR                                                 !3
         21        DO_ICALL                                                 
   18    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.44 ms | 1395 KiB | 17 Q