3v4l.org

run code in 300+ PHP versions simultaneously
<?php $size = "large"; $var_array = array("color" => "blue", "size" => "medium", "shape" => array("blue", "blue", "blue")); extract($var_array, EXTR_PREFIX_SAME, "wddx"); echo "$color, $size, $shape, $wddx_size\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u2Yge
function name:  (null)
number of ops:  17
compiled vars:  !0 = $size, !1 = $var_array, !2 = $color, !3 = $shape, !4 = $wddx_size
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'large'
    3     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'extract'
          3        SEND_REF                                                 !1
          4        SEND_VAL                                                 2
          5        SEND_VAL                                                 'wddx'
          6        DO_ICALL                                                 
    8     7        ROPE_INIT                                     8  ~9      !2
          8        ROPE_ADD                                      1  ~9      ~9, '%2C+'
          9        ROPE_ADD                                      2  ~9      ~9, !0
         10        ROPE_ADD                                      3  ~9      ~9, '%2C+'
         11        ROPE_ADD                                      4  ~9      ~9, !3
         12        ROPE_ADD                                      5  ~9      ~9, '%2C+'
         13        ROPE_ADD                                      6  ~9      ~9, !4
         14        ROPE_END                                      7  ~8      ~9, '%0A'
         15        ECHO                                                     ~8
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.18 ms | 1394 KiB | 15 Q