note 29099 added to function.strrpos

From: Date: Sun, 02 Feb 2003 08:59:09 +0000
Subject: note 29099 added to function.strrpos
Groups: php.notes 
Request: Send a blank email to php-notes+get-43284@lists.php.net to get a copy of this message
This function is COMPLETELY inconsistent with its counterparts. strchr - first occurance of char in string strpos - first occurance of substring in string strrchr - last occurance of char in string strrpos - last occurance of char?? in string This to me seems like a broken feature in php. Yes, knowning the last occurance of a substring is a string IS useful and this would be the function to implement this feature! -- http://www.php.net/manual/en/function.strrpos.php http://master.php.net/manage/user-notes.php?action=edit+29099 http://master.php.net/manage/user-notes.php?action=delete+29099 http://master.php.net/manage/user-notes.php?action=reject+29099

« previous php.notes (#43284) next »