3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = urlencode('защита данных.html'); var_dump($string); $string = urldecode($string); var_dump($string); $raw_string = rawurlencode('защита данных.html'); var_dump($raw_string); $raw_string = rawurldecode($raw_string); var_dump($raw_string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s6Mhe
function name:  (null)
number of ops:  29
compiled vars:  !0 = $string, !1 = $raw_string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'urlencode'
          1        SEND_VAL                                                 '%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B0+%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85.html'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'urldecode'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !0, $5
    9    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
   11    14        INIT_FCALL                                               'rawurlencode'
         15        SEND_VAL                                                 '%D0%B7%D0%B0%D1%89%D0%B8%D1%82%D0%B0+%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85.html'
         16        DO_ICALL                                         $8      
         17        ASSIGN                                                   !1, $8
   13    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
   15    21        INIT_FCALL                                               'rawurldecode'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $11     
         24        ASSIGN                                                   !1, $11
   17    25        INIT_FCALL                                               'var_dump'
         26        SEND_VAR                                                 !1
         27        DO_ICALL                                                 
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.65 ms | 1395 KiB | 23 Q