From a8467d973a2b6ff053288be42a36988e186217dd Mon Sep 17 00:00:00 2001 From: jim winstead Date: Fri, 7 Dec 2001 21:27:53 +0000 Subject: [PATCH] explode: add example, clean up text a little git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64248 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/strings.xml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/functions/strings.xml b/functions/strings.xml index da3836a175..cfefa42849 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -612,14 +612,15 @@ I have foo. boundaries formed by the string separator. If limit is set, the returned array will contain a maximum of limit elements with - the last element containing the whole rest of - string. If an empty string ("") is used - as the separator argument, then + the last element containing the rest of + string. + + + If separator is an empty string (""), explode will return &false;. If - separator contains a value that is not - contained in the string argument, - thenexplode will return the - string argument. + separator contains a value that is not contained + in string, then explode will + return an array containing string. @@ -629,11 +630,14 @@ I have foo. - <function>explode</function> example + <function>explode</function> examples