From a1bc631b0f7da32a82368bf3defd4c9c5afaf9e5 Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Fri, 28 May 2010 08:32:05 +0000 Subject: [PATCH] added normal return value description for explode - fixes bug #51937 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299897 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/explode.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/reference/strings/functions/explode.xml b/reference/strings/functions/explode.xml index 573eda86dc..16bc2eb70b 100644 --- a/reference/strings/functions/explode.xml +++ b/reference/strings/functions/explode.xml @@ -72,12 +72,17 @@ &reftitle.returnvalues; - If delimiter is an empty string (""), + Returns an array of strings + created by splitting the string parameter on + boundaries formed by the delimiter. + + + If delimiter is an empty string (""), explode will return &false;. If delimiter contains a value that is not contained in string and a negative - limit is used, then an empty array will be - returned. For any other limit, an array containing + limit is used, then an empty arraywill be + returned, otherwise an array containing string will be returned.