PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PHP » PHP_Compat » Bug #1956

stripos - not returning false

Details

Submitted2004-07-22 17:47 UTC
Fromasnagy at php dot net
Assignedaidan
StatusClosed
PackagePHP_Compat
PHP Version4.3.7
OSLinux
Roadmaps1.6.0a1

Comments

[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.

[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.