From:             [EMAIL PROTECTED]
Operating system: Irrelevant
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  mb_strpos: improper explanation

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 bug report at http://bugs.php.net/?id=36565&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36565&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36565&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36565&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36565&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36565&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36565&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36565&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36565&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36565&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36565&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36565&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36565&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36565&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36565&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36565&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36565&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36565&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36565&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36565&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36565&r=mysqlcfg

Reply via email to