diff --git a/reference/strings/functions/explode.xml b/reference/strings/functions/explode.xml index 9200cee632..3194a81796 100644 --- a/reference/strings/functions/explode.xml +++ b/reference/strings/functions/explode.xml @@ -1,5 +1,5 @@ - + explode @@ -12,7 +12,7 @@ arrayexplode stringdelimiter stringstring - intlimit-1 + intlimit Returns an array of strings, each of which is a substring of @@ -45,7 +45,7 @@ limit - If limit is set, the returned array will contain + If limit is set and positive, the returned array will contain a maximum of limit elements with the last element containing the rest of string. @@ -53,6 +53,9 @@ If the limit parameter is negative, all components except the last -limit are returned. + + If the limit parameter is zero, then this is treated as 1. +