note 11270 added to strrchr

From: Date: Tue, 13 Feb 2001 18:07:32 +0000
Subject: note 11270 added to strrchr
Groups: php.notes 
Request: Send a blank email to php-notes+get-11007@lists.php.net to get a copy of this message
a couple of not-so-clean-examples: -- -- returns "55" : $string1 = "a55"; $string2 = "5"; $dump = strchr($string1, $string2); echo "::::", $dump; ----- -- returns "55a" $string1 = "a55a"; $string2 = "5"; $dump = strchr($string1, $string2); echo "::::", $dump; http://www.php.net/manual/en/function.strrchr.php

« previous php.notes (#11007) next »