Doc #75401 [Opn]: mb-ereg-replace default options "r" and "s" not documented anywhere
| From: | php-bug at webattractive dot de | Date: | Tue, 17 Oct 2017 21:01:19 +0000 |
| Subject: | Doc #75401 [Opn]: mb-ereg-replace default options "r" and "s" not documented anywhere | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15097@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75401&edit=1
ID: 75401
User updated by: php-bug at webattractive dot de
Reported by: php-bug at webattractive dot de
-Summary: mb-ereg-replace default option "r" not documented
anywhere
+Summary: mb-ereg-replace default options "r" and "s" not
documented anywhere
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: any
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Nothing in the Changelog. It only mentions the deprecation of the e modifier.
Previous Comments:
------------------------------------------------------------------------
[2017-10-17 20:19:46] php-bug at webattractive dot de
Description:
------------
---
From manual page: http://www.php.net/function.mb-ereg-replace
---
The fourth (optional) parameter "option" is shown with a default value of "msr"
In the parameter description section the options e,i,m,p and x are listed, but the r option is not
explained.
The documentation for all other mb_ereg_* or mb_eregi_* functions also omits the r option, states to
look in the description of mb_ereg_replace or has no explanation of the options at all.
The non multibyte versions of ereg_* or preg_* don't have an option parameter and the PCRE
pattern modifier documntation also doesn't list an r option.
Websearches didn't help either.
Expected result:
----------------
An explanation of an option that is set by default
Actual result:
--------------
no clue what the r option is good for
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75401&edit=1