Fixed PHP bug #52122 (implode(): No description of return value for degenerate case)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300736 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Egeberg 2010-06-24 22:07:28 +00:00
parent 2482812e87
commit b5b882e695

View file

@ -102,6 +102,9 @@ $comma_separated = implode(",", $array);
echo $comma_separated; // lastname,email,phone
// Empty string when using an empty array:
var_dump(implode('hello', array())); // string(0) ""
?>
]]>
</programlisting>