3v4l.org

run code in 300+ PHP versions simultaneously
<?php // your code goes here $test = "moind3re pro_blème"; var_dump(preg_match("/^[a-zA-Z\x{00C0}-\x{017F}]/u", $test)); //var_dump (filter_var($test, FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JWvEC
function name:  (null)
number of ops:  9
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'moind3re+pro_bl%C3%A8me'
    6     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%5E%5Ba-zA-Z%5Cx%7B00C0%7D-%5Cx%7B017F%7D%5D%2Fu'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
    7     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.95 ms | 1394 KiB | 17 Q