note 127111 deleted from function.mb-substr by cmb
| From: | cmb@php.net | Date: | Wed, 18 May 2022 10:42:45 +0000 |
| Subject: | note 127111 deleted from function.mb-substr by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218488@lists.php.net to get a copy of this message | ||
Note Submitter: chokolatrix x gmail x com
----
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).