ID:               18003
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Linux
 PHP Version:      4.2.1
 New Comment:

Trim is a stricly string function, I don't see any need giving it an
array as argument...

It is so easy to do with php by applying array_walk() to your array or
simply looping it... If your case really needs it tyou hen can just add
it into sources yourself.

On the other hand, there are already string functions that accept
arrays in place of strings returning elaborated lements...

Anyone? Leave this request or close it?


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

[2002-06-26 18:10:21] [EMAIL PROTECTED]

+1 from me to make trim() understanding array as 1st argument and in
that case trim all elements in array each by each.

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


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

Reply via email to