Re: How can I let zend accept any parameters?

From: Date: Sat, 16 Aug 2014 10:32:04 +0000
Subject: Re: How can I let zend accept any parameters?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-76586@lists.php.net to get a copy of this message
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: > > 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

« previous php.internals (#76586) next »