3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.86 ms | 1001 KiB | 15 Q