3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'tag_name' => 'google' ), array( 'tag_name' => 'technology' ) ); $ids = array_column($input, 'tag_name'); $output = implode(',', $ids); echo $output;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Dld03
function name:  (null)
number of ops:  13
compiled vars:  !0 = $input, !1 = $ids, !2 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   11     1        INIT_FCALL                                               'array_column'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'tag_name'
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   12     6        INIT_FCALL                                               'implode'
          7        SEND_VAL                                                 '%2C'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
   14    11        ECHO                                                     !2
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.74 ms | 1394 KiB | 17 Q