[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard var.c From: Jade Nicoletti (nicoletti <email protected>)
Date: 06/29/00

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>