3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "<h1>HelloÝÚäč WorldÆØÅ!</h1>"; $newstr = filter_var($str, FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH); echo $newstr; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DhoVZ
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $newstr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Ch1%3EHello%C3%9D%C3%9A%C3%A4%C4%8D+World%C3%86%C3%98%C3%85%21%3C%2Fh1%3E'
    5     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAR                                                 !0
          3        FETCH_CONSTANT                                   ~3      'FILTER_SANITIZE_STRING'
          4        SEND_VAL                                                 ~3
          5        SEND_VAL                                                 8
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    6     8        ECHO                                                     !1
    7     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.41 ms | 1000 KiB | 14 Q