3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( "0" => Array ( "0" => 1134, "1" => 2014, "2" => "type1" ), "1" => Array ( "0" => 1133, "1" => 2014, "2" => "type1" ), "2" => Array ( "0" => 1132, "1" => 2014, "2" => "type2" ), "3" => Array ( "0" => 1131, "1" => 2014, "2" => "type2" ), "4" => Array ( "0" => 1130, "1" => 2013, "2" => "type1" )); $type1 = array_column($arr, 2, 1); Var_dump($type1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7DFBY
function name:  (null)
number of ops:  11
compiled vars:  !0 = $arr, !1 = $type1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   40     1        INIT_FCALL                                               'array_column'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 2
          4        SEND_VAL                                                 1
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
   41     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.21 ms | 1394 KiB | 17 Q