diff --git a/reference/strings/functions/strcspn.xml b/reference/strings/functions/strcspn.xml index 085eaccedfa5..981e75884c66 100644 --- a/reference/strings/functions/strcspn.xml +++ b/reference/strings/functions/strcspn.xml @@ -127,6 +127,15 @@ + + 8.4.0 + + + Prior to PHP 8.4.0, when characters was the empty string, + the search would incorrectly stop at the first null byte in string. + + + 8.0.0