ID:               32709
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tmp at nostradamia dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: unix
 PHP Version:      Irrelevant
 New Comment:

That's becuase you're using PHP4 and not PHP5, and it's stated in the
docs that this function first appeared only in PHP5.


Previous Comments:
------------------------------------------------------------------------

[2005-04-14 22:52:54] tmp at nostradamia dot com

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 this bug report at http://bugs.php.net/?id=32709&edit=1

Reply via email to