--TEST-- mb_ereg_search() with invalid pattern should discard old matches --SKIPIF-- --FILE-- --EXPECTF-- bool(true) Warning: mb_ereg_search(): Pattern is not valid under UTF-8 encoding in %s on line %d bool(false) bool(false)