|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-06-26 18:10 UTC] carlos at wfmgh dot org dot pl
+1 from me to make trim() understanding array as 1st argument and in that case trim all elements in array each by each. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 05:00:01 2025 UTC |
Hmm, -1 for having this feature. In simplest case, you can also use array_map() for this purpose: $result = array_map('trim',$array); I don't think this code is too tedious.