3v4l.org

run code in 300+ PHP versions simultaneously
<?php $episodes = array_column([ 1 => [ ['el' => 1, 's' => 1, 'ep' => 101], ['el' => 1, 's' => 1, 'ep' => 102], ['el' => 1, 's' => 2, 'ep' => 103], ['el' => 1, 's' => 3, 'ep' => 104], ] ]); var_dump(array_column((array) $episodes[1], 'ep', 's'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XDPWe
function name:  (null)
number of ops:  15
compiled vars:  !0 = $episodes
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'array_column'
    4     1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $1      
    2     3        ASSIGN                                                   !0, $1
   11     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'array_column'
          6        FETCH_DIM_R                                      ~3      !0, 1
          7        CAST                                          7  ~4      ~3
          8        SEND_VAL                                                 ~4
          9        SEND_VAL                                                 'ep'
         10        SEND_VAL                                                 's'
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.32 ms | 1394 KiB | 17 Q