3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http%3A%2F%2Fwww.my2.com%2Fapi.php%3Fkey1%3Dxxx%26key2%3Dyyy%26key3%3Dzzz'; echo $url; $url = urldecode($url); echo $url; $url = base64_encode($url); echo $url;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4kNLZ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%253A%252F%252Fwww.my2.com%252Fapi.php%253Fkey1%253Dxxx%2526key2%253Dyyy%2526key3%253Dzzz'
    3     1        ECHO                                                     !0
    4     2        INIT_FCALL                                               'urldecode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    5     6        ECHO                                                     !0
    6     7        INIT_FCALL                                               'base64_encode'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    7    11        ECHO                                                     !0
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.47 ms | 1394 KiB | 17 Q