1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00
Files
archived-php-src/ext/pcre/tests/bug77827.phpt
T
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

13 lines
180 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()
);
?>
--EXPECT--
int(1)
int(0)