3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, 'pt_PT', 'pt', 'pt_PT.ISO8859-1', 'portuguese'); var_dump(preg_match('/^\w{6}$/', 'aàáçéè'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Di2pL
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 'pt_PT'
          3        SEND_VAL                                                 'pt'
          4        SEND_VAL                                                 'pt_PT.ISO8859-1'
          5        SEND_VAL                                                 'portuguese'
          6        DO_ICALL                                                 
    3     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'preg_match'
          9        SEND_VAL                                                 '%2F%5E%5Cw%7B6%7D%24%2F'
         10        SEND_VAL                                                 'a%C3%A0%C3%A1%C3%A7%C3%A9%C3%A8'
         11        DO_ICALL                                         $1      
         12        SEND_VAR                                                 $1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.32 ms | 1394 KiB | 19 Q