note 61432 deleted from function.strrpos by mazzanet
| From: | mazzanet@php.net | Date: | Sun, 25 Dec 2011 00:50:46 +0000 |
| Subject: | note 61432 deleted from function.strrpos by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185237@lists.php.net to get a copy of this message | ||
Note Submitter: clan_ghw2 at hotmail dot com
----
Brian below is incorrect about strrpos on different platforms.
Tested on Home PC (win32 + PHP 5.1.2) and Web Server (linux + 4.4.1)
echo strrpos("blah.blahannila","blaha");
returns 5 on windows
returns 5 on linux
Could've been a bug with an earlier PHP version, however the latest version of PHP returns
position of the beginning of the string we're trying to find.
-Thaddeus