3v4l.org

run code in 300+ PHP versions simultaneously
<?php // your code goes here //$test = "최상의 선택 & 합리적인 가격"; $test = "test"; 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/jkhIh
function name:  (null)
number of ops:  9
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'test'
    7     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                                                 
    8     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.95 ms | 1394 KiB | 17 Q