3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $data = array('d' => 'f'); $a = 0; $b = 1; $c = 'e'; var_dump(array_merge($data, compact('a', 'b', 'c')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iSG4j
function name:  (null)
number of ops:  17
compiled vars:  !0 = $data, !1 = $a, !2 = $b, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 0
    5     2        ASSIGN                                                   !2, 1
    6     3        ASSIGN                                                   !3, 'e'
    8     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'array_merge'
          6        SEND_VAR                                                 !0
          7        INIT_FCALL                                               'compact'
          8        SEND_VAL                                                 'a'
          9        SEND_VAL                                                 'b'
         10        SEND_VAL                                                 'c'
         11        DO_ICALL                                         $8      
         12        SEND_VAR                                                 $8
         13        DO_ICALL                                         $9      
         14        SEND_VAR                                                 $9
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.44 ms | 1394 KiB | 19 Q