note 23115 deleted from function.basename by spic

From: Date: Tue, 17 Sep 2002 09:05:43 +0000
Subject: note 23115 deleted from function.basename by spic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-36777@lists.php.net to get a copy of this message
In reply to jsteele@snl.com: You should really use strrpos instead of reversing the string, using strpos with substr, and then reversing it a second time. I'm assuming that strrpos would automatically do that for you if needed.

« previous php.notes (#36777) next »