What should I use in "zend_parse_parameters" so that it can support
arguments like this:
- object, string
- null, string
I'm not sure what represents "null" here
--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
On Sat, Aug 16, 2014 at 12:22 PM, Aaron Lewis
the.warl0ck.1989@gmail.com wrote:
What should I use in "zend_parse_parameters" so that it can support
arguments like this:
- object, string
- null, string
I'm not sure what represents "null" here
in this case you have to accept a zval and do the check yourself. null
could be supported for any parameter but the 1st one as optional
parameter.
Full doc can be found here:
https://github.com/php/php-src/blob/master/README.PARAMETER_PARSING_API
--
Pierre
@pierrejoye | http://www.libgd.org