Re: cvs: ZendEngine2(PHP_5_3) / zend_builtin_functions.c

Felipe Pena <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <1226960509.20280.5.camel@pena>
Hello Marcus,

Em Seg, 2008-11-17 às 22:25 +0100, Marcus Boerger escreveu:
> >  #include "zend.h"
> >  #include "zend_API.h"
> > @@ -346,7 +346,7 @@
> >         ZEND_FE(func_num_args,          arginfo_func_num_args)
> >         ZEND_FE(func_get_arg,           arginfo_func_get_arg)
> >         ZEND_FE(func_get_args,          arginfo_func_get_args)
> > -       { "strlen", zend_if_strlen, arginfo_strlen },
> > +       {"strlen", zend_if_strlen,      arginfo_strlen, (zend_uint)
> Why not rename the function and turn the entry into:
> ZEND_FE(strlen, arginfo_strlen);
> ???
> 
> The old way was necessary in early days because we did not prepend the
> function names.
> 

Bah, nice then. I thought that there is an obscure reason, and didn't
checked. :P

Fixed. Thanks for the heads up! :)


-- 
Regards,
Felipe Pena


-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.