3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prefixed_foo = 'original'; $vars = ['foo' => 'overwrite', 'bar' => 'overwrite']; extract($vars, EXTR_SKIP|EXTR_PREFIX_ALL, 'prefixed_'); echo $prefixed_foo . "\n" . $prefixed_bar;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZLctl
function name:  (null)
number of ops:  11
compiled vars:  !0 = $prefixed_foo, !1 = $vars, !2 = $prefixed_bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'original'
    4     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'extract'
          3        SEND_REF                                                 !1
          4        SEND_VAL                                                 3
          5        SEND_VAL                                                 'prefixed_'
          6        DO_ICALL                                                 
    8     7        CONCAT                                           ~6      !0, '%0A'
          8        CONCAT                                           ~7      ~6, !2
          9        ECHO                                                     ~7
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.75 ms | 1394 KiB | 15 Q