3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "%f0%c0%c0%a7"; $ill=urldecode($url); var_dump($ill); $ill=addslashes($ill); echo utf8_decode("$ill"); echo htmlspecialchars ($ill,ENT_QUOTES,"utf-8" );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iJC6J
function name:  (null)
number of ops:  24
compiled vars:  !0 = $url, !1 = $ill
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%25f0%25c0%25c0%25a7'
    5     1        INIT_FCALL                                               'urldecode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    6     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'addslashes'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !1, $6
    8    12        INIT_FCALL                                               'utf8_decode'
         13        CAST                                          6  ~8      !1
         14        SEND_VAL                                                 ~8
         15        DO_ICALL                                         $9      
         16        ECHO                                                     $9
    9    17        INIT_FCALL                                               'htmlspecialchars'
         18        SEND_VAR                                                 !1
         19        SEND_VAL                                                 3
         20        SEND_VAL                                                 'utf-8'
         21        DO_ICALL                                         $10     
         22        ECHO                                                     $10
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.58 ms | 1395 KiB | 23 Q