note 84367 added to function.substr
| From: | Anonymous at osu1 dot php dot net | Date: | Thu, 10 Jul 2008 14:59:36 +0000 |
| Subject: | note 84367 added to function.substr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-141368@lists.php.net to get a copy of this message | ||
The documentation should state explicitly what happens if the length parameter is zero (even though
one of the examples illustrates it). In that case, the function returns everything from the start
point to the end of the string.
----
Server IP: 209.41.74.194
Probable Submitter: 216.201.181.66
----
Manual Page -- http://www.php.net/manual/en/function.substr.php
Edit -- https://master.php.net/note/edit/84367
Del: integrated -- https://master.php.net/note/delete/84367/integrated
Del: useless -- https://master.php.net/note/delete/84367/useless
Del: bad code -- https://master.php.net/note/delete/84367/bad+code
Del: spam -- https://master.php.net/note/delete/84367/spam
Del: non-english -- https://master.php.net/note/delete/84367/non-english
Del: in docs -- https://master.php.net/note/delete/84367/in+docs
Del: other reasons-- https://master.php.net/note/delete/84367
Reject -- https://master.php.net/note/reject/84367
Search -- https://master.php.net/manage/user-notes.php