3v4l.org

run code in 500+ PHP versions simultaneously
<?php setlocale( LC_ALL, 'C'); var_dump( preg_match( '`^\w+$`u', 'Iñtërnâtiônàlizætiøn' ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lunKA
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'setlocale'
          1        SEND_VAL                                                     6
          2        SEND_VAL                                                     'C'
          3        DO_ICALL                                                     
    4     4        INIT_FCALL                                                   'var_dump'
          5        FRAMELESS_ICALL_2                preg_match          ~1      '%60%5E%5Cw%2B%24%60u', 'I%C3%B1t%C3%ABrn%C3%A2ti%C3%B4n%C3%A0liz%C3%A6ti%C3%B8n'
          6        SEND_VAL                                                     ~1
          7        DO_ICALL                                                     
          8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.3 ms | 2922 KiB | 15 Q