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/bug75089.phpt
T

10 lines
206 B
PHP

--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)