3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "\tcafé\n"; //This will remove the tab and the line break echo filter_var($a, FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW); //This will remove the é. echo filter_var($a, FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/URgQm
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%09caf%C3%A9%0A'
    4     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 513
          4        SEND_VAL                                                 4
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
    6     7        INIT_FCALL                                               'filter_var'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 513
         10        SEND_VAL                                                 8
         11        DO_ICALL                                         $3      
         12        ECHO                                                     $3
    7    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.02 ms | 1398 KiB | 15 Q