note 19284 rejected from function.strchr by alindeman
| From: | alindeman@php.net | Date: | Thu, 21 Feb 2002 22:41:07 +0000 |
| Subject: | note 19284 rejected from function.strchr by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-26912@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...