svn: /phpdoc/en/trunk/reference/strings/functions/ implode.xml
| From: | Daniel Egeberg | Date: | Thu, 24 Jun 2010 22:07:28 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/strings/functions/ implode.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6844@lists.php.net to get a copy of this message | ||
degeberg Thu, 24 Jun 2010 22:07:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300736
Log:
Fixed PHP bug #52122 (implode(): No description of return value for degenerate case)
Bug: http://bugs.php.net/52122 (Open) implode(): No
description of return value for degenerate case
Changed paths:
U phpdoc/en/trunk/reference/strings/functions/implode.xml
Modified: phpdoc/en/trunk/reference/strings/functions/implode.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/implode.xml 2010-06-24 19:52:13 UTC (rev 300735)
+++ phpdoc/en/trunk/reference/strings/functions/implode.xml 2010-06-24 22:07:28 UTC (rev 300736)
@@ -102,6 +102,9 @@
echo $comma_separated; // lastname,email,phone
+// Empty string when using an empty array:
+var_dump(implode('hello', array())); // string(0) ""
+
?>
]]>
</programlisting>