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_keys(array_column((array) $episodes[1], 's', 'ep'), 2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/83pme
function name:  (null)
number of ops:  16
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_keys'
          3        INIT_FCALL                                               'array_column'
          4        FETCH_DIM_R                                      ~2      !0, 1
          5        CAST                                          7  ~3      ~2
          6        SEND_VAL                                                 ~3
          7        SEND_VAL                                                 's'
          8        SEND_VAL                                                 'ep'
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        SEND_VAL                                                 2
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.28 ms | 1394 KiB | 19 Q