3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'qwl=foobard47ae"style%3d"behavior%3aurl(%23default %23time2)"onbegin%3d"alert(1)"79064c5e2bb&bar=foo'; $urlencoded = urlencode($string); $urldecoded = urldecode($string); var_dump($urlencoded); var_dump($urldecoded); var_dump(strip_tags($string)); var_dump(strip_tags($urlencoded)); var_dump(strip_tags($urldecoded));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UpeW4
function name:  (null)
number of ops:  34
compiled vars:  !0 = $string, !1 = $urlencoded, !2 = $urldecoded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'qwl%3Dfoobard47ae%22style%253d%22behavior%253aurl%28%2523default%0A%2523time2%29%22onbegin%253d%22alert%281%29%2279064c5e2bb%26bar%3Dfoo'
    4     1        INIT_FCALL                                               'urlencode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        INIT_FCALL                                               'urldecode'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'strip_tags'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $10     
         19        SEND_VAR                                                 $10
         20        DO_ICALL                                                 
    9    21        INIT_FCALL                                               'var_dump'
         22        INIT_FCALL                                               'strip_tags'
         23        SEND_VAR                                                 !1
         24        DO_ICALL                                         $12     
         25        SEND_VAR                                                 $12
         26        DO_ICALL                                                 
   10    27        INIT_FCALL                                               'var_dump'
         28        INIT_FCALL                                               'strip_tags'
         29        SEND_VAR                                                 !2
         30        DO_ICALL                                         $14     
         31        SEND_VAR                                                 $14
         32        DO_ICALL                                                 
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.24 ms | 1396 KiB | 21 Q