blob: dd0ec1624648097ad0f567f16b48f842e4a035f7 (
plain)
1
2
3
4
5
6
7
8
9
|
--TEST--
Bug #75089 (preg_grep() is not reporting PREG_BAD_UTF8_ERROR after first input string)
--FILE--
<?php
preg_grep('#\d#u', ['a', "1\xFF"/*, 'c'*/]);
var_dump(preg_last_error());
?>
--EXPECT--
int(4)
|