Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_builtin_functions.c
[email protected] (Felipe Pena)
| Newsgroups | php.zend-engine.cvs |
|---|---|
| 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