3v4l.org

run code in 500+ PHP versions simultaneously
<?php $results = [ (object)['name' => 'A'], (object)['name' => 'B'], (object)['name' => 'C'] ]; echo implode(',', array_column($results, 'name'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jMhkC
function name:  (null)
number of ops:  14
compiled vars:  !0 = $results
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   CAST                                              8  ~1      <array>
          1        INIT_ARRAY                                           ~2      ~1
          2        CAST                                              8  ~3      <array>
          3        ADD_ARRAY_ELEMENT                                    ~2      ~3
          4        CAST                                              8  ~4      <array>
          5        ADD_ARRAY_ELEMENT                                    ~2      ~4
    3     6        ASSIGN                                                       !0, ~2
    9     7        INIT_FCALL                                                   'array_column'
          8        SEND_VAR                                                     !0
          9        SEND_VAL                                                     'name'
         10        DO_ICALL                                             $6      
         11        FRAMELESS_ICALL_2                implode             ~7      '%2C', $6
         12        ECHO                                                         ~7
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.19 ms | 2088 KiB | 14 Q