3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern='/淸/'; $txt='淸_哈哈哈哈_我来试试'; $match = preg_match($pattern, $txt); if ($match===false) { echo 'fail'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/f7gvv
function name:  (null)
number of ops:  11
compiled vars:  !0 = $pattern, !1 = $txt, !2 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%E6%B7%B8%2F'
    3     1        ASSIGN                                                   !1, '%E6%B7%B8_%E5%93%88%E5%93%88%E5%93%88%E5%93%88_%E6%88%91%E6%9D%A5%E8%AF%95%E8%AF%95'
    4     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    5     7        TYPE_CHECK                                    4          !2
          8      > JMPZ                                                     ~7, ->10
    6     9    >   ECHO                                                     'fail'
    7    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.71 ms | 1394 KiB | 15 Q