3v4l.org

run code in 300+ PHP versions simultaneously
<?php function addFunction($arg) { parse_str($arg); echo $variable2; // value2 } addFunction('variable1=value1&variable2=value2');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mvGUr
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     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/mvGUr
function name:  addFunction
number of ops:  6
compiled vars:  !0 = $arg, !1 = $variable2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'parse_str'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    6     4        ECHO                                                     !1
    8     5      > RETURN                                                   null

End of function addfunction

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.54 ms | 1396 KiB | 16 Q