diff --git a/reference/strings/functions/explode.xml b/reference/strings/functions/explode.xml index 41270f260a..998d70dc13 100644 --- a/reference/strings/functions/explode.xml +++ b/reference/strings/functions/explode.xml @@ -1,5 +1,5 @@ - + @@ -30,6 +30,11 @@ in string, then explode will return an array containing string. + + If the limit parameter is negative, all components + except the last limit are returned. This feature + was added in PHP 5.1.0. + Although implode can, for historical reasons, accept its parameters in either order, @@ -66,6 +71,42 @@ echo $pass; // * + + + <parameter>limit</parameter> parameter examples + + +]]> + + + The above example will output: + + + one + [1] => two|three|four +) +Array +( + [0] => one + [1] => two + [2] => three +) +]]> + + + ¬e.bin-safe;