ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] #36565 [NEW]: mb_strpos: improper explanation
by Takagi@Php.Net other posts by this author
Feb 28 2006 7:36PM messages near this date
[PHP-DOC] cvs: phpdoc /en/reference/http/functions headers-sent.xml | [PHP-DOC] #36565 [Opn->Csd]: mb_strpos: improper explanation
From:             takagi@[...].net
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
Thread:
Takagi@Php.Net
vrana

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved