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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.03 ms | 1394 KiB | 15 Q