3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "唧"; echo $str; preg_match("/[^\w]/", $str, $match); preg_match("/[\x{ffffffff}]+/u", $str, $mt); print_r($mt); print_r($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/96Ktg
function name:  (null)
number of ops:  19
compiled vars:  !0 = $str, !1 = $match, !2 = $mt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%E5%94%A7'
    3     1        ECHO                                                     !0
    4     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%5B%5E%5Cw%5D%2F'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'preg_match'
          8        SEND_VAL                                                 '%2F%5B%5Cx%7Bffffffff%7D%5D%2B%2Fu'
          9        SEND_VAR                                                 !0
         10        SEND_REF                                                 !2
         11        DO_ICALL                                                 
    6    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
    7    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.47 ms | 935 KiB | 18 Q