php4-beta | 200004
Date: 04/23/00
- Next message: Szii: "Re: [PHP4BETA] What am I doing wrong?"
- Previous message: Frank M. Kromann: "[PHP4BETA] cvs: /php4 php_modules.dsw"
- Next in thread: Sterling Hughes: "[PHP4BETA] Re: [PHP-DEV] strchr()"
- Reply: Sterling Hughes: "[PHP4BETA] Re: [PHP-DEV] strchr()"
- Reply: thies <email protected>: "Re: [PHP4BETA] strchr()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>> http://www.zend.com/-- 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: Szii: "Re: [PHP4BETA] What am I doing wrong?"
- Previous message: Frank M. Kromann: "[PHP4BETA] cvs: /php4 php_modules.dsw"
- Next in thread: Sterling Hughes: "[PHP4BETA] Re: [PHP-DEV] strchr()"
- Reply: Sterling Hughes: "[PHP4BETA] Re: [PHP-DEV] strchr()"
- Reply: thies <email protected>: "Re: [PHP4BETA] strchr()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

