xref: /PHP-8.3/ext/pcre/tests/bug77827.phpt (revision a555cc0b)
1--TEST--
2Bug #77827 (preg_match does not ignore \r in regex flags)
3--FILE--
4<?php
5var_dump(
6    preg_match("/foo/i\r", 'FOO'),
7    preg_last_error()
8);
9?>
10--EXPECT--
11int(1)
12int(0)
13