Warning: Invalid argument supplied for foreach() in /home/jihswbiz/public_html/t6.gwilt.org/refDox.php on line 212
Docs-strrevpos

 

ReLoad

Keys


Functions

arraybrowsercolorcookiedatetimeDBdebugdeviceDSTequiverrorflagsfontformatgeo
holidayhtmlisjsonmathparsePHPprintsearchsortstringtabletexttracetype
VOTDweatherxml

Function  strrevpos   Lines 2003-2013 (10 lines)Added: 2021-02-11 file  utils.php   Last mod: Fri 2021-05-14 21:45:07

function strrevpos $haystack$needle )
        {
#-k     string  search  parse
#-      Look for the last occurance of $needle in the $stack
#-d     2/11/21  - Added

        
$rev_pos strpos strrev($haystack), strrev($needle) );
        if (
$rev_pos===false) return false;
        else return 
strlen($haystack) - $rev_pos strlen($needle);
        };

?>