Doc #75401 [NEW]: mb-ereg-replace default option "r" not documented anywhere

From: Date: Tue, 17 Oct 2017 20:19:52 +0000
Subject: Doc #75401 [NEW]: mb-ereg-replace default option "r" not documented anywhere
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15096@lists.php.net to get a copy of this message
From:             php-bug at webattractive dot de
Operating system: any
PHP version:      Irrelevant
Package:          Documentation problem
Bug Type:         Documentation Problem
Bug description:mb-ereg-replace default option "r" not documented anywhere

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 bug report at https://bugs.php.net/bug.php?id=75401&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=75401&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=75401&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=75401&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=75401&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=75401&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=75401&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=75401&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=75401&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=75401&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=75401&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=75401&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=75401&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=75401&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75401&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=75401&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=75401&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=75401&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75401&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=75401&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=75401&r=mysqlcfg



Thread (4 messages)

« previous php.doc.bugs (#15096) next »