diff --git a/reference/strings/functions/strrchr.xml b/reference/strings/functions/strrchr.xml index eb5ab4b6f189..b97bcd94f602 100644 --- a/reference/strings/functions/strrchr.xml +++ b/reference/strings/functions/strrchr.xml @@ -12,6 +12,7 @@ stringfalsestrrchr stringhaystack stringneedle + boolbefore_needle&false; This function returns the portion of haystack which @@ -43,6 +44,16 @@ &strings.parameter.needle.non-string; + + before_needle + + + If &true;, strrchr + returns the part of the haystack before the + first occurrence of the needle (excluding needle). + + + @@ -66,6 +77,12 @@ + + 8.3.0 + + The before_needle parameter was added. + + &strings.changelog.needle-empty; 8.0.0