#36565 [Opn->Csd]: mb_strpos: improper explanation

From: Date: Wed, 01 Mar 2006 04:35:53 +0000
Subject: #36565 [Opn->Csd]: mb_strpos: improper explanation
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372160@lists.php.net to get a copy of this message
ID: 36565 Updated by: vrana@php.net Reported By: takagi@php.net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2006-03-01 04:36:07] takagi@php.net Description: ------------ Please take a look at the following url. http://www.php.net/manual/en/function.mb-strpos.php > mb_strrpos() accepts string for needle where strrpos() accepts only character. This sentence describes mb_str*r*pos and str*r*pos, not mb_strpos. I think it is improper to explain this here. Expected result: ---------------- diff -u -r1.3 mb-strpos.xml --- en/reference/mbstring/functions/mb-strpos.xml 22 Apr 2005 15:39:27 -0000 1.3 +++ en/reference/mbstring/functions/mb-strpos.xml 1 Mar 2006 03:34:39 -0000 @@ -33,10 +33,7 @@ </para> <para> If <parameter>encoding</parameter> is omitted, internal - character encoding is used. <function>mb_strrpos</function> - accepts <literal>string</literal> for - <parameter>needle</parameter> where <function>strrpos</function> - accepts only character. + character encoding is used. </para> <para> <parameter>offset</parameter> is search offset. If it is not ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36565&edit=1

« previous php.doc (#969372160) next »