3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(1); $blogs = array(); for ($mppb_times = 3; $mppb_times>0; $mppb_times--) $blogs = array_merge($blogs, $a); print_r($blogs);
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/nk0mi
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $blogs, !2 = $mppb_times
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, 3
          3      > JMP                                                      ->10
    6     4    >   INIT_FCALL                                               'array_merge'
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !1, $6
    5     9        PRE_DEC                                                  !2
         10    >   IS_SMALLER                                               0, !2
         11      > JMPNZ                                                    ~9, ->4
   10    12    >   INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.71 ms | 1386 KiB | 17 Q