ID:               26007
 Updated by:       [EMAIL PROTECTED]
 Reported By:      timothy dot wilson at lmco dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         Feature/Change Request
 Operating System: unix
 PHP Version:      4.3.1
 New Comment:

This will not be changed. Just think of the 'wtf factor'.
It's hard enough to find bugs in your scripts already given all the
"lazy" features in PHP.



Previous Comments:
------------------------------------------------------------------------

[2003-10-27 13:04:41] timothy dot wilson at lmco dot com

Description:
------------
My request is to have implode not blow up when not given an array. 
This could be done by setting a standard for the variable order

implode(glue, pieces)

check pieces for is_array()...if so, then do your thing, if not then
return pieces instead of an error.

Reproduce code:
---------------
$arr="blah";

$new_list = implode ("|", $arr);

echo $new_list;

Expected result:
----------------
blah

Actual result:
--------------
error:....


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26007&edit=1

Reply via email to