3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 0 => [ "groupid" => "5", "radminid" => "1", "type" => "system", "system" => "private", ], 1 => [ "groupid" => "10", "radminid" => "2", "type" => "system", "system" => "private", ], ]; $array = array_column($array, null, 'groupid'); print_r($array);die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/N3PbH
function name:  (null)
number of ops:  12
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   18     1        INIT_FCALL                                               'array_column'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 null
          4        SEND_VAL                                                 'groupid'
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
   19     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > EXIT                                                     
   20    11*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.8 ms | 1005 KiB | 15 Q