3v4l.org

run code in 300+ PHP versions simultaneously
<?php $letters = array( array( '1' => '2', '2' => '3' ), array( '1' => '3', '2' => '2' ) ); foreach ($array as $value) { $letters = array_merge($letters, $value); } echo implode(', ', $letters);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 9
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 9
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/eoPRI
function name:  (null)
number of ops:  16
compiled vars:  !0 = $letters, !1 = $array, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   14     1      > FE_RESET_R                                       $4      !1, ->9
          2    > > FE_FETCH_R                                               $4, !2, ->9
   15     3    >   INIT_FCALL                                               'array_merge'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !2
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !0, $5
   14     8      > JMP                                                      ->2
          9    >   FE_FREE                                                  $4
   18    10        INIT_FCALL                                               'implode'
         11        SEND_VAL                                                 '%2C+'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $7      
         14        ECHO                                                     $7
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.09 ms | 1395 KiB | 17 Q