3v4l.org

run code in 300+ PHP versions simultaneously
<?php function addFunction($arg) { parse_str($arg, $args); extract($args, EXTR_SKIP); echo $variable1; } addFunction('variable1=value1&variable2=value2');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YCVTn
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'addfunction'
          1        SEND_VAL                                                 'variable1%3Dvalue1%26variable2%3Dvalue2'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function addfunction:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YCVTn
function name:  addFunction
number of ops:  11
compiled vars:  !0 = $arg, !1 = $args, !2 = $variable1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'parse_str'
          2        SEND_VAR                                                 !0
          3        SEND_REF                                                 !1
          4        DO_ICALL                                                 
    7     5        INIT_FCALL                                               'extract'
          6        SEND_REF                                                 !1
          7        SEND_VAL                                                 1
          8        DO_ICALL                                                 
    9     9        ECHO                                                     !2
   11    10      > RETURN                                                   null

End of function addfunction

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.73 ms | 942 KiB | 19 Q