3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.26 ms | 1395 KiB | 17 Q