1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00
Files
archived-php-src/ext/pcre/tests/bug77827.phpt
T
2019-03-31 13:31:54 +02:00

15 lines
202 B
PHP

--TEST--
Bug #77827 (preg_match does not ignore \r in regex flags)
--FILE--
<?php
var_dump(
preg_match("/foo/i\r", 'FOO'),
preg_last_error()
);
?>
===DONE===
--EXPECT--
int(1)
int(0)
===DONE===