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); var_dump($urlencoded); var_dump(strip_tags($string)); var_dump(strip_tags($urlencoded));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/heVU6
function name:  (null)
number of ops:  21
compiled vars:  !0 = $string, !1 = $urlencoded
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                                         $3      
          4        ASSIGN                                                   !1, $3
    5     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'strip_tags'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $6      
         12        SEND_VAR                                                 $6
         13        DO_ICALL                                                 
    7    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'strip_tags'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                         $8      
         18        SEND_VAR                                                 $8
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.76 ms | 1395 KiB | 19 Q