note 126033 added to function.mb-ereg-search-pos
| From: | v dot picture at free dot fr | Date: | Thu, 22 Apr 2021 14:57:44 +0000 |
| Subject: | note 126033 added to function.mb-ereg-search-pos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216315@lists.php.net to get a copy of this message | ||
This function is absolutely not multibyte-safe, it actually returns the position of the match as if
the string was not multibyte.
The results of this function are exactly the same as if you were using preg_match_all with
PREG_OFFSET_CAPTURE, even with the "unicode" flag it's simply NOT working
(Bug report filed)
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 2a01:cb15:80e7:5a00:d273:e0a6:8bc1:fa0b)
----
Manual Page -- https://php.net/manual/en/function.mb-ereg-search-pos.php
Edit -- https://main.php.net/note/edit/126033
Del: integrated -- https://main.php.net/note/delete/126033/integrated
Del: useless -- https://main.php.net/note/delete/126033/useless
Del: bad code -- https://main.php.net/note/delete/126033/bad+code
Del: spam -- https://main.php.net/note/delete/126033/spam
Del: non-english -- https://main.php.net/note/delete/126033/non-english
Del: in docs -- https://main.php.net/note/delete/126033/in+docs
Del: other reasons-- https://main.php.net/note/delete/126033
Reject -- https://main.php.net/note/reject/126033
Search -- https://main.php.net/manage/user-notes.php