3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rows = [ ['id' => 1, 'code' => '342'], ['id' => 2, 'code' => '765'], ['id' => 3, 'code' => '134'], ['id' => 1, 'code' => '999'] ]; var_export( array_values(array_column($rows, null, 'id')) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d4dQf
function name:  (null)
number of ops:  13
compiled vars:  !0 = $rows
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'var_export'
   11     2        INIT_FCALL                                               'array_values'
          3        INIT_FCALL                                               'array_column'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 null
          6        SEND_VAL                                                 'id'
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
   10    11        DO_ICALL                                                 
   12    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
235.42 ms | 1011 KiB | 16 Q