3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$a = array(array('a' => 1, 'b' => 3), array('c'=> 5, 'd' => 2)); //$b = array('a' => 21, 'b' => 23, 'c'=> 25, 'd' => 22); $a = array(array(1, 3), array(5, 2)); $b = array(array(21, 23), array(25, 22)); var_dump(array_merge(array_values($a), array_values($b))); //var_dump($a); //var_dump(array_values($a)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jrim4
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN                                                   !1, <array>
   10     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'array_merge'
          4        INIT_FCALL                                               'array_values'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        SEND_VAR                                                 $4
          8        INIT_FCALL                                               'array_values'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
   13    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.33 ms | 1398 KiB | 19 Q