3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "Original"; $my_array = array("a" => "Cat", "b" => "Dog", "c" => "Horse"); extract($my_array, EXTR_OVERWRITE,'dup'); echo "\$a = $a; \$b = $b; \$c = $c; \$dup_a = $dup_a"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cb3ZK
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $my_array, !2 = $b, !3 = $c, !4 = $dup_a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Original'
    3     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'extract'
          3        SEND_REF                                                 !1
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 'dup'
          6        DO_ICALL                                                 
    7     7        ROPE_INIT                                     8  ~9      '%24a+%3D+'
          8        ROPE_ADD                                      1  ~9      ~9, !0
          9        ROPE_ADD                                      2  ~9      ~9, '%3B+%24b+%3D+'
         10        ROPE_ADD                                      3  ~9      ~9, !2
         11        ROPE_ADD                                      4  ~9      ~9, '%3B+%24c+%3D+'
         12        ROPE_ADD                                      5  ~9      ~9, !3
         13        ROPE_ADD                                      6  ~9      ~9, '%3B+%24dup_a+%3D+'
         14        ROPE_END                                      7  ~8      ~9, !4
         15        ECHO                                                     ~8
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.83 ms | 1394 KiB | 15 Q