Re: Question: How do you get a zval** in a non-deprecated way?
| From: | fuhs at purdue dot edu | Date: | Tue, 08 Jul 2003 21:58:24 +0000 |
| Subject: | Re: Question: How do you get a zval** in a non-deprecated way? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3315@lists.php.net to get a copy of this message | ||
Ok, thanks.
Is there a reason why this functionality is not supported in the new API?
Josh
Quoting Sascha Schumann <sascha@schumann.cx>:
> On Tue, 8 Jul 2003 fuhs@purdue.edu wrote:
>
> > Hello,
> >
> > I would like to use zend_parse_parameters() to retrieve a zval** but it
> > currently does not do this. get_parameters() which does return zval**'s has
> been
> > deprecated. I don't want to use the '/' option with
> zend_parse_parameters()
> > because zval separation may not be necessary, and I would like to avoid it
> > whenever possible.
>
> The old APIs are not really deprecated. The new APIs are
> simply recommended over the old ones. So, if you are running
> into a case where zend_get_parameters works better for you,
> go ahead and use it.
>
> - Sascha
>