3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $a1=array("flagname"=>"LTV Under 50","b"=>"green"); $a2=array("flagname"=>"blue","b"=>"yellow"); print_r(array_merge((array)$a1,(array)$a2)); ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hYKgF
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a1, !1 = $a2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A%3Cbody%3E%0A%0A'
    6     1        ASSIGN                                                   !0, <array>
    7     2        ASSIGN                                                   !1, <array>
    8     3        INIT_FCALL                                               'print_r'
          4        INIT_FCALL                                               'array_merge'
          5        CAST                                          7  ~4      !0
          6        SEND_VAL                                                 ~4
          7        CAST                                          7  ~5      !1
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                         $6      
         10        SEND_VAR                                                 $6
         11        DO_ICALL                                                 
   10    12        ECHO                                                     '%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   12    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.14 ms | 1394 KiB | 17 Q