note 117646 added to function.trim
| From: | dik_allison at msn dot com | Date: | Tue, 14 Jul 2015 12:33:07 +0000 |
| Subject: | note 117646 added to function.trim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203105@lists.php.net to get a copy of this message | ||
Just for reference, using trim on a string which only contains blank characters returns an empty
string, not ' '.
i.e. strlen(trim(' ')) is 0
----
Server IP: 72.52.91.14
Probable Submitter: 146.200.98.70
----
Manual Page -- http://php.net/manual/en/function.trim.php
Edit -- https://master.php.net/note/edit/117646
Del: integrated -- https://master.php.net/note/delete/117646/integrated
Del: useless -- https://master.php.net/note/delete/117646/useless
Del: bad code -- https://master.php.net/note/delete/117646/bad+code
Del: spam -- https://master.php.net/note/delete/117646/spam
Del: non-english -- https://master.php.net/note/delete/117646/non-english
Del: in docs -- https://master.php.net/note/delete/117646/in+docs
Del: other reasons-- https://master.php.net/note/delete/117646
Reject -- https://master.php.net/note/reject/117646
Search -- https://master.php.net/manage/user-notes.php