3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr = [ "0" => [ "gift_product" => 6475, ], "1" => [ "gift_product" => 7377, ], "2" => [ "gift_product" => 6367, ], ]; echo implode(",", array_column($arr, "gift_product"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0vYje
function name:  (null)
number of ops:  8
compiled vars:  !0 = $arr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   21     1        INIT_FCALL                                                   'array_column'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     'gift_product'
          4        DO_ICALL                                             $2      
          5        FRAMELESS_ICALL_2                implode             ~3      '%2C', $2
          6        ECHO                                                         ~3
          7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.22 ms | 2247 KiB | 14 Q