note 29099 rejected from function.strrpos by nicos

From: Date: Sun, 02 Feb 2003 09:37:19 +0000
Subject: note 29099 rejected from function.strrpos by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-43286@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!

« previous php.notes (#43286) next »