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.'\n'; $url = urldecode($url); echo $url.'\n'; $url = base64_encode($url); echo $url.'\n';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ig3GK
function name:  (null)
number of ops:  16
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        CONCAT                                           ~2      !0, '%5Cn'
          2        ECHO                                                     ~2
    4     3        INIT_FCALL                                               'urldecode'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    5     7        CONCAT                                           ~5      !0, '%5Cn'
          8        ECHO                                                     ~5
    6     9        INIT_FCALL                                               'base64_encode'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !0, $6
    7    13        CONCAT                                           ~8      !0, '%5Cn'
         14        ECHO                                                     ~8
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144 ms | 1394 KiB | 17 Q