note 114806 added to function.ltrim
| From: | mroeling at exed dot nl | Date: | Tue, 08 Apr 2014 10:33:13 +0000 |
| Subject: | note 114806 added to function.ltrim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199221@lists.php.net to get a copy of this message | ||
@scion4581
The problem is that the character mask (_stw in your case) isn't a literal string, but a
character collection. So all characters within _stw are stripped. In your case this includes the w
of weight also.
----
Server IP: 72.52.91.14
Probable Submitter: 84.53.67.94
----
Manual Page -- http://php.net/manual/en/function.ltrim.php
Edit -- https://master.php.net/note/edit/114806
Del: integrated -- https://master.php.net/note/delete/114806/integrated
Del: useless -- https://master.php.net/note/delete/114806/useless
Del: bad code -- https://master.php.net/note/delete/114806/bad+code
Del: spam -- https://master.php.net/note/delete/114806/spam
Del: non-english -- https://master.php.net/note/delete/114806/non-english
Del: in docs -- https://master.php.net/note/delete/114806/in+docs
Del: other reasons-- https://master.php.net/note/delete/114806
Reject -- https://master.php.net/note/reject/114806
Search -- https://master.php.net/manage/user-notes.php