Date: 06/29/00
- Next message: Maurice Barnes: "[PHP-DEV] PHP4.0.1 Dev Bugs"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] PostgreSQL dll for Windows PHP 4.0.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jun 29, 2000 at 09:54:05AM -0500, Andrei Zmievski wrote:
[snipped]
> > class_name = emalloc(i + 1);
> > - if (i > 0) {
> > - memcpy(class_name, *p, i);
> > + for(pi=0;pi<i;pi++) {
> > + class_name[pi] = tolower((*p)[pi]);
> > }
> > class_name[i] = 0;
> > (*p) += i;
>
> Why not use zend_str_tolower()?
>
> -Andrei
BTW, why not s/php_strtolower/zend_strtolower/ in ext/standard/string.c?
-- =============================================================================== Jade Nicoletti Nicoletti Net Services Tel. 01 240 4774 Geschäftsleitung Postfach 2519 Fax 01 240 4775 System-Administration 8021 Zürich ============================================[ Weitere Infos: http://nns.ch/ ]==-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Maurice Barnes: "[PHP-DEV] PHP4.0.1 Dev Bugs"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] PostgreSQL dll for Windows PHP 4.0.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

