3v4l.org

run code in 500+ PHP versions simultaneously
<?php $src = 'http://www.my.com/api.php%3Fkey1=xxx&key2=xxx'; $src = parse_url( urldecode($src) ); parse_str($src['query']); echo $key1,$key2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X5ajP
function name:  (null)
number of ops:  15
compiled vars:  !0 = $src, !1 = $key1, !2 = $key2
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'http%3A%2F%2Fwww.my.com%2Fapi.php%253Fkey1%3Dxxx%26key2%3Dxxx'
    4     1        INIT_FCALL                                                   'parse_url'
          2        INIT_FCALL                                                   'urldecode'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $4      
          5        SEND_VAR                                                     $4
          6        DO_ICALL                                             $5      
          7        ASSIGN                                                       !0, $5
    5     8        INIT_FCALL                                                   'parse_str'
          9        FETCH_DIM_R                                          ~7      !0, 'query'
         10        SEND_VAL                                                     ~7
         11        DO_ICALL                                                     
    6    12        ECHO                                                         !1
         13        ECHO                                                         !2
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
232.53 ms | 3328 KiB | 16 Q