3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = (int) $a = $b = array_fill(0, 100, 'bwoebi'); while($i++ < 1e3) { $b = array_merge($b, $a); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 10
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 10
Branch analysis from position: 18
Branch analysis from position: 10
filename:       /in/uHCc4
function name:  (null)
number of ops:  19
compiled vars:  !0 = $i, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_fill'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 100
          3        SEND_VAL                                                 'bwoebi'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                           ~4      !2, $3
          6        ASSIGN                                           ~5      !1, ~4
          7        CAST                                          4  ~6      ~5
          8        ASSIGN                                                   !0, ~6
    5     9      > JMP                                                      ->15
    6    10    >   INIT_FCALL                                               'array_merge'
         11        SEND_VAR                                                 !2
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !2, $8
    5    15    >   POST_INC                                         ~10     !0
         16        IS_SMALLER                                               ~10, 1000
         17      > JMPNZ                                                    ~11, ->10
    7    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.89 ms | 1395 KiB | 17 Q