Date: 08/24/01
- Next message: teo <email protected>: "Re: [PHP-DEV] for the php-gtk people"
- Previous message: Marc Boeren: "RE: [PHP-DEV] for the php-gtk people"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] zend_parse_parameters"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] zend_parse_parameters"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_parse_parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
When parsing strings from parameters with zend_parse_parameters, it is
required that the programmer pass in an int to receive the length of the
string.
Could we relax this and allow a NULL instead if we do not need the length
of the string? It would make the calling code more pretty because we
would not need to declare a bunch if ints that don't otherwise get used.
Yeah, I know about binary safety, but when I'm passing this stuff to binary
unsafe functions there doesn't seem much point :)
--Wez.
-- 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: teo <email protected>: "Re: [PHP-DEV] for the php-gtk people"
- Previous message: Marc Boeren: "RE: [PHP-DEV] for the php-gtk people"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] zend_parse_parameters"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] zend_parse_parameters"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] zend_parse_parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

