|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-10-28 10:34 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 11:00:02 2025 UTC |
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:....