Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.0a3

Bug #1956 stripos - not returning false
Submitted: 2004-07-22 17:47 UTC
From: asnagy at php dot net Assigned: aidan
Status: Closed Package: PHP_Compat
PHP Version: 4.3.7 OS: Linux
Roadmaps: 1.6.0a1    
Subscription  


 [2004-07-22 17:47 UTC] asnagy at php dot net
Description: ------------ It seems that the stripos function is not returning false when the string is not found, it returns the position of the last character.

Comments

 [2004-07-23 12:32 UTC] aidan at virtualexplorer dot com dot au
Thanks, Fixed in CVS
 [2004-07-23 12:32 UTC] aidan at virtualexplorer dot com dot au
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Ah, I suck at bugs.