note 19284 added to function.strchr

From: Date: Thu, 21 Feb 2002 22:36:01 +0000
Subject: note 19284 added to function.strchr
Groups: php.notes 
Request: Send a blank email to php-notes+get-26911@lists.php.net to get a copy of this message
Is this function identical in syntax for the sake of PHP, or is it in fact identical in implementation as well? One would assume that optimisations could be made to the back-end code when knowing that one is only searching for a single character in a string instead of a substring. One would also assume that the optimisation could also be implemented at the strstr() level when a single character parameter is detected... -- http://www.php.net/manual/en/function.strchr.php http://master.php.net/manage/user-notes.php?action=edit+19284 http://master.php.net/manage/user-notes.php?action=delete+19284 http://master.php.net/manage/user-notes.php?action=reject+19284

« previous php.notes (#26911) next »