3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, 'ru', 'ru_RU', 'ru_RU.cp1251'); var_dump(preg_match('/^\w{6}$/', 'фывапо'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dC6fQ
function name:  (null)
number of ops:  14
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                                                 'ru'
          3        SEND_VAL                                                 'ru_RU'
          4        SEND_VAL                                                 'ru_RU.cp1251'
          5        DO_ICALL                                                 
    3     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'preg_match'
          8        SEND_VAL                                                 '%2F%5E%5Cw%7B6%7D%24%2F'
          9        SEND_VAL                                                 '%D1%84%D1%8B%D0%B2%D0%B0%D0%BF%D0%BE'
         10        DO_ICALL                                         $1      
         11        SEND_VAR                                                 $1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.19 ms | 1394 KiB | 19 Q