summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2019-08-18 15:33:10 +0200
committerGeorge Peter Banyard <girgias@php.net>2019-08-26 17:11:37 +0200
commit6d578482a933be7597b686b59a935b316161d251 (patch)
tree5bd9e3d2e2aa858ca77762e95397698686157b5d /UPGRADING
parentade97c207c74609332e7d98450ef09b5caec0a70 (diff)
downloadphp-git-6d578482a933be7597b686b59a935b316161d251.tar.gz
Improve strpos and strstr function family implementation
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING1
1 files changed, 1 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index a398a61cc6..e4f2feccf2 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -202,6 +202,7 @@ PHP 8.0 UPGRADE NOTES
string. Previously non-string needles were interpreted as an ASCII code
point. An explicit call to chr() can be used to restore the previous
behavior.
+ . The needle argument for strpos(), strrpos(), stripos(), strripos(), strstr() and stristr() can now be empty.
. The 'salt' option of password_hash() is no longer supported. If the 'salt'
option is used a warning is generated, the provided salt is ignored, and a
generated salt is used instead.