3v4l.org

run code in 300+ PHP versions simultaneously
<?php $defaults = array('hi'=>1, 'hi2'=>2); $args = array('hi'=>11, 'hi2'=>22, 'this'=>33); $args += $defaults; extract($args); print_r($args); echo $hi, $hi2, $this;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EkBpD
function name:  (null)
number of ops:  14
compiled vars:  !0 = $defaults, !1 = $args, !2 = $hi, !3 = $hi2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    6     2        ASSIGN_OP                                     1          !1, !0
    7     3        INIT_FCALL                                               'extract'
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    9     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
   10     9        ECHO                                                     !2
         10        ECHO                                                     !3
         11        FETCH_THIS                                       ~9      
         12        ECHO                                                     ~9
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.62 ms | 1394 KiB | 17 Q