php4-beta | 200004
Date: 04/23/00
- Next message: Zeev Suraski: "Re: [PHP4BETA] cvs: /php4/ext/imap php_imap.c"
- Previous message: Sterling Hughes: "[PHP4BETA] cvs: /php4/pear/DB msql.php"
- In reply to: Sterling Hughes: "[PHP4BETA] Re: [PHP-DEV] strchr()"
- Next in thread: Andi Gutmans: "[PHP4BETA] Re: [PHP-DEV] strchr()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Since we have already documented them as being aliases for quite a while
> now, it will definitely break a lot of scripts, and considering most of
> the people using PHP are on hosting on pretty fast machines, the speed
> gain is not, I don't think, worth breaking perfectly good scripts.
FWIW , I agree with this.
Using strchr() in place of strstr() can hardly be considered
inappropriate, since the docs have indicated an exact alias
for quite some time.
I can't imagine what sort of logic would be required to realize
a performance gain, but if it _is_ necessary, why not implement an entirely
new function for single chars, strschr() say.
Mike R.
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Zeev Suraski: "Re: [PHP4BETA] cvs: /php4/ext/imap php_imap.c"
- Previous message: Sterling Hughes: "[PHP4BETA] cvs: /php4/pear/DB msql.php"
- In reply to: Sterling Hughes: "[PHP4BETA] Re: [PHP-DEV] strchr()"
- Next in thread: Andi Gutmans: "[PHP4BETA] Re: [PHP-DEV] strchr()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

