Date: 08/25/01
- Next message: Andi Gutmans: "Re: [PHP-DEV] for the php-gtk people"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / php.ini-dist php.ini-recommended"
- Next in thread: rasmus <email protected>: "Re: [PHP-DEV] zend_parse_parameters"
- Reply: rasmus <email protected>: "Re: [PHP-DEV] zend_parse_parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 05:48 PM 8/24/2001 +0100, Wez Furlong wrote:
>On 24/08/01, "Andrei Zmievski" <andrei <email protected>> wrote:
> > Initially, I had another specifier that would let you receive just the
> > string pointer, but in discussions with Andi we agreed that it would be
> > good to always return the length as well. Binary safety was a major
> > consideration in this. Don't you think people will start passing NULL
> > all the time if this rule is relaxed?
>
>I understand, and yes, they would.
>
>It just seems a shame to have to declare those ints when they are not
>used.
I won't repeat what Andrei said. I think it's a good thing because it
pretty much forces people to be aware of binary safety. We have done a
great job in PHP up to now when it comes to binary safety and I wouldn't
want this to change.
>zend_parse_parameters does a great job of reducing the "tedium"
>and clutter of declaring a php function, so I should just be grateful and
>keep my mouth shut :)
:) I think for 4.0.8 we could change lots of places to use
zend_parse_parameters(). It definitely improves parameter handling.
Andi
-- 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: Andi Gutmans: "Re: [PHP-DEV] for the php-gtk people"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / php.ini-dist php.ini-recommended"
- Next in thread: rasmus <email protected>: "Re: [PHP-DEV] zend_parse_parameters"
- Reply: rasmus <email protected>: "Re: [PHP-DEV] zend_parse_parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

