3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.41 ms | 1395 KiB | 17 Q