diff --git a/reference/strings/functions/stristr.xml b/reference/strings/functions/stristr.xml index 3316f69a62..a53b9ea2ab 100644 --- a/reference/strings/functions/stristr.xml +++ b/reference/strings/functions/stristr.xml @@ -1,5 +1,5 @@ - + stristr @@ -12,6 +12,7 @@ stringstristr stringhaystack stringneedle + boolbefore_needle Returns all of haystack from the first @@ -39,6 +40,16 @@ + + before_needle + + + If &true; (the default is &false;), strstr returns + the part of the haystack before the first + occurence of the needle. + + + @@ -55,6 +66,36 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 6.0.0 + + Added the before_needle parameter. + + + + 4.3.0 + + strstr was made binary safe. + + + + + + + + &reftitle.examples; @@ -64,8 +105,8 @@ ]]> diff --git a/reference/strings/functions/strstr.xml b/reference/strings/functions/strstr.xml index 52cb655a30..e852333ae5 100644 --- a/reference/strings/functions/strstr.xml +++ b/reference/strings/functions/strstr.xml @@ -1,5 +1,5 @@ - + strstr @@ -12,6 +12,7 @@ stringstrstr stringhaystack stringneedle + boolbefore_needle Returns part of haystack string from the first @@ -54,6 +55,16 @@ + + before_needle + + + If &true; (the default is &false;), strstr returns + the part of the haystack before the first + occurence of the needle. + + + @@ -78,6 +89,12 @@ + + 6.0.0 + + Added the before_needle parameter. + + 4.3.0 @@ -98,9 +115,12 @@ ]]>