3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testArray = array('test' => array('a' => array('percy', 'a' => 'mitch'), 'b' => array('test', 'hello'), 'c')); $res = array_column($testArray, 'a') + array_column($testArray, 'b'); print_r($res);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JpCDJ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $testArray, !1 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'array_column'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'a'
          4        DO_ICALL                                         $3      
          5        INIT_FCALL                                               'array_column'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'b'
          8        DO_ICALL                                         $4      
          9        ADD                                              ~5      $3, $4
         10        ASSIGN                                                   !1, ~5
    8    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.42 ms | 1394 KiB | 17 Q