[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/strings/functions/_implode.xml?=
From:       Daniel_Egeberg <degeberg () php ! net>
Date:       2010-06-24 22:07:28
Message-ID: svn-degeberg-1277417248-300736-233345725 () svn ! php ! net
[Download RAW message or body]

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>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic