strchr()

From: Date: Sun, 23 Apr 2000 08:21:26 +0000
Subject: strchr()
Groups: php.dev php.version4 
Request: Send a blank email to php-dev+get-18132@lists.php.net to get a copy of this message
Hey, Write now the PHP function strchr() is aliased to strstr() for some odd reason. It could be implemented much faster as strchr() just looks for a character within a string and not a string within a string. Do you guys think people are using strchr() where strstr() should be used, and will they get bitten if its behavior is changed to do "exactly but not more" of what it should do? Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#18132) next »