On Sat, Aug 16, 2014 at 12:22 PM, Aaron Lewis <the.warl0ck.1...@gmail.com> wrote: > What should I use in "zend_parse_parameters" so that it can support > arguments like this: > > 1. object, string > 2. 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php