#32709 [NEW]: http://fr.php.net/manual/fr/function.stripos.php ->not a valid function: strpos
| From: | tmp at nostradamia dot com | Date: | Thu, 14 Apr 2005 20:52:55 +0000 |
| Subject: | #32709 [NEW]: http://fr.php.net/manual/fr/function.stripos.php ->not a valid function: strpos | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969367821@lists.php.net to get a copy of this message | ||
From: tmp at nostradamia dot com
Operating system: unix
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: http://fr.php.net/manual/fr/function.stripos.php
->not a valid function: strpos
Description:
------------
Error on manual
"stripos" should be "strpos"
stripos generates the error:
Fatal error: Call to undefined function: stripos()
This documentation error was reported back in 2003, but not corrected in
the French manual. The link address is:
http://fr.php.net/manual/fr/function.stripos.php
Reproduce code:
---------------
<?php
$findme = 'a';
$mystring1 = 'xyz';
$mystring2 = 'ABC';
$pos1 = stripos($mystring1, $findme);
$pos2 = stripos($mystring2, $findme);
Expected result:
----------------
0
=>Proper documentation
Actual result:
--------------
Fatal error: Call to undefined function: stripos()
--
Edit bug report at http://bugs.php.net/?id=32709&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32709&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32709&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32709&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32709&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32709&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32709&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32709&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32709&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32709&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32709&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32709&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32709&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32709&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32709&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32709&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32709&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32709&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32709&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32709&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32709&r=mysqlcfg