3v4l.org

run code in 300+ PHP versions simultaneously
<?php $episodes = [ 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], ] ]; print_r(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/60M1l
function name:  (null)
number of ops:  12
compiled vars:  !0 = $episodes
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   11     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'array_column'
          3        FETCH_DIM_R                                      ~2      !0, 1
          4        CAST                                          7  ~3      ~2
          5        SEND_VAL                                                 ~3
          6        SEND_VAL                                                 'ep'
          7        SEND_VAL                                                 's'
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.65 ms | 1394 KiB | 17 Q