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