php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #63985
Patch patch.txt revision 2013-01-14 11:59 UTC by grusaren at yahoo dot se

Patch patch.txt for Online Doc Editor problem Bug #63985

Patch version 2013-01-14 11:59 UTC

Return to Bug #63985 | Download this patch
Patch Revisions:

Developer: grusaren@yahoo.se

---
From manual page: http://www.php.net/function.implode#refsect1-function.implode-parameters
---

First this is said about the function implode:

-------
Note:

implode() can, for historical reasons, accept its parameters in either order. For consistency with explode(), however, it may be less confusing to use the documented order of arguments.
-------



Then this is said about the first parameter "glue":

-------
glue
Defaults to an empty string. This is not the preferred usage of implode() as glue would be the second parameter and thus, the bad prototype would be used.
-------


What do you want to tell us really? Nothing is ok? Both having glue as the first parameter or the second is ok?


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 07:01:33 2025 UTC