3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr=[ 11=>[ "a"=>"Blaa", "b"=>"Inco", ], 12=>[ "a"=>"XXX", "b"=> new stdClass(), ] ]; print_r(array_column($arr ?? [],null,"b"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GZi8D
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_ARRAY                                           ~1      <array>, 11
          1        INIT_ARRAY                                           ~2      'XXX', 'a'
          2        NEW                                                  $3      'stdClass'
          3        DO_FCALL                                          0          
          4        ADD_ARRAY_ELEMENT                                    ~2      $3, 'b'
          5        ADD_ARRAY_ELEMENT                                    ~1      ~2, 12
          6        ASSIGN                                                       !0, ~1
    4     7        INIT_FCALL                                                   'print_r'
          8        INIT_FCALL                                                   'array_column'
          9        COALESCE                                             ~6      !0
         10        QM_ASSIGN                                            ~6      <array>
         11        SEND_VAL                                                     ~6
         12        SEND_VAL                                                     null
         13        SEND_VAL                                                     'b'
         14        DO_ICALL                                             $7      
         15        SEND_VAR                                                     $7
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.8 ms | 479 KiB | 9 Q