3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.07 ms | 1395 KiB | 17 Q