Skip to content

Commit 0e41989

Browse files
committed
Add UPGRADING entry for preg_grep() behavioral change
1 parent 1a925ea commit 0e41989

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADING

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ PHP 8.6 UPGRADE NOTES
1919
1. Backward Incompatible Changes
2020
========================================
2121

22+
- PCRE:
23+
. preg_grep() now returns false instead of a partial array when a PCRE
24+
execution error occurs (e.g. malformed UTF-8 input with the /u modifier).
25+
This is consistent with other preg_* functions.
26+
2227
- Phar:
2328
. Invalid values now throw in Phar::mungServer() instead of being silently
2429
ignored.

0 commit comments

Comments
 (0)