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_merge(array_column($testArray, 'a'), array_column($testArray, 'b'), array('x','y','z')); print_r($res);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L8dLC
function name:  (null)
number of ops:  19
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_merge'
          2        INIT_FCALL                                               'array_column'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'a'
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        INIT_FCALL                                               'array_column'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 'b'
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        SEND_VAL                                                 <array>
         13        DO_ICALL                                         $5      
         14        ASSIGN                                                   !1, $5
    8    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.69 ms | 1394 KiB | 19 Q