note 57043 deleted from function.strrpos by mazzanet
| From: | mazzanet@php.net | Date: | Sun, 25 Dec 2011 00:50:43 +0000 |
| Subject: | note 57043 deleted from function.strrpos by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185236@lists.php.net to get a copy of this message | ||
Note Submitter: nh_handyman
----
As noted in some examples below, strrpos does not act the same on every platform!
On Linux, it returns the position of the end of the target
On Windows, it returns the position of the start of the target
strrpos ("c:/somecity/html/t.php")
returns 11 on Windows
returns 16 on Linux
Brian