zend_parse_parameters
| From: | Wez Furlong | Date: | Fri, 24 Aug 2001 10:42:29 +0000 |
| Subject: | zend_parse_parameters | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64236@lists.php.net to get a copy of this message | ||
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.