![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: X (PCRE_EXTRA) modififer ! 3: --FILE-- ! 4: <?php ! 5: ! 6: var_dump(preg_match('/\y/', '\y')); ! 7: var_dump(preg_match('/\y/X', '\y')); ! 8: ! 9: ?> ! 10: --EXPECTF-- ! 11: int(1) ! 12: ! 13: Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset 1 in %spcre_extra.php on line 4 ! 14: bool(false)