[PHP-DOC] #36565 [Opn->Csd]: mb_strpos: improper explanation
by vrana other posts by this author
Feb 28 2006 8:36PM messages near this date
[PHP-DOC] #36565 [NEW]: mb_strpos: improper explanation
|
[PHP-DOC] #36564 [NEW]: "where" should be "were"
ID: 36565
Updated by: vrana@[...].net
Reported By: takagi@[...].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@[...].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
Thread:
Takagi@Php.Net
vrana
|