Re: zend_parse_parameters
| From: | Wez Furlong | Date: | Fri, 24 Aug 2001 16:48:05 +0000 |
| Subject: | Re: zend_parse_parameters | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64257@lists.php.net to get a copy of this message | ||
On 24/08/01, "Andrei Zmievski" <andrei@ispi.net> 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.
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 :)
--Wez.