3v4l.org

run code in 300+ PHP versions simultaneously
<?php $records = array( array( 'id' => 2135, 'extra' => array( 'jelou' => 'hi', 'first_name' => 'Albert' ), ), array( 'id' => 2145, 'extra' => array( 'jelou' => 'hio', 'first_name' => 'Alberto' ), ), array( 'id' => 2155, 'extra' => array( 'jelou' => 'hia', 'first_name' => 'Alberta' ), ) ); print_r($records); $first_names = array_column($records, 'jelou'); print_r($first_names);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KSTJD
function name:  (null)
number of ops:  13
compiled vars:  !0 = $records, !1 = $first_names
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   26     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   27     4        INIT_FCALL                                               'array_column'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 'jelou'
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
   28     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
205.53 ms | 1398 KiB | 17 Q