note 127111 added to function.mb-substr
| From: | chokolatrixxgmailxcom at main dot php dot net | Date: | Wed, 18 May 2022 09:52:22 +0000 |
| Subject: | note 127111 added to function.mb-substr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-218486@lists.php.net to get a copy of this message | ||
Silvian's top comment isn't true anymore since v5.4.8 !!!
"Passing null as length will not make mb_substr use it's default, instead it will
interpret it as 0." (https://www.php.net/manual/en/function.mb-substr.php#77515)
You can check out the output of all PHP versions at https://3v4l.org/9oaY2 (select "include eol" from the
drop-down).
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.47 (proxied: 147.161.245.106)
----
Manual Page -- https://php.net/manual/en/function.mb-substr.php
Edit -- https://main.php.net/note/edit/127111
Del: integrated -- https://main.php.net/note/delete/127111/integrated
Del: useless -- https://main.php.net/note/delete/127111/useless
Del: bad code -- https://main.php.net/note/delete/127111/bad+code
Del: spam -- https://main.php.net/note/delete/127111/spam
Del: non-english -- https://main.php.net/note/delete/127111/non-english
Del: in docs -- https://main.php.net/note/delete/127111/in+docs
Del: other reasons-- https://main.php.net/note/delete/127111
Reject -- https://main.php.net/note/reject/127111
Search -- https://main.php.net/manage/user-notes.php