3v4l.org

run code in 300+ PHP versions simultaneously
<?php $all = array(array("name"=>"peter","age"=>"15","sex"=>"male"),array("name"=>"mary","age"=>"24","sex"=>"female")); $a = array("0"=>"peter","1"=>"15","2"=>"male"); $b = array("0"=>"mary","1"=>"24","2"=>"female"); $c = array_merge($a,$b); print_r($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ugUau
function name:  (null)
number of ops:  12
compiled vars:  !0 = $all, !1 = $a, !2 = $b, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    5     3        INIT_FCALL                                               'array_merge'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !2
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !3, $7
    6     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !3
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.81 ms | 1394 KiB | 17 Q