Re: Validate complex types
| From: | Stas Malyshev | Date: | Fri, 23 Mar 2012 17:38:21 +0000 |
| Subject: | Re: Validate complex types | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-59143@lists.php.net to get a copy of this message | ||
Hi!
> I wanted to use
zend_parse_arg() to validate a single parameter
> if the
> first call to zend_parse_parameters_ex() wasn't
> successful. But this function
> is never used outside of "Zend/zend_API.c". Is it meant for public use? Are
> there any drawbacks in calling it?
No, it's currently not meant for public use - it's an internal function
that is not available to outside modules (thus declared 'static').
It may make sense to refactor this code and make it more accessible to
functions that want to parse individual parameter, but currently it is
not suited for that.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227