Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3315 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51866 invoked from network); 8 Jul 2003 21:58:48 -0000 Received: from unknown (HELO herald.cc.purdue.edu) (128.210.11.29) by pb1.pair.com with SMTP; 8 Jul 2003 21:58:48 -0000 Received: from localhost (wm-cpu6.itcs.purdue.edu [128.210.11.238]) by herald.cc.purdue.edu (8.12.9/8.12.9/herald) with ESMTP id h68LwmkW018843; Tue, 8 Jul 2003 16:58:48 -0500 (EST) Received: from cspan-157.c-spanarchives.org (cspan-157.c-spanarchives.org [208.13.57.157]) by webmail.purdue.edu (IMP) with HTTP for ; Tue, 8 Jul 2003 16:58:24 -0500 Message-ID: <1057701504.3f0b3e80ad785@webmail.purdue.edu> Date: Tue, 8 Jul 2003 16:58:24 -0500 To: Sascha Schumann Cc: internals@lists.php.net References: <1057699980.3f0b388c49ac8@webmail.purdue.edu> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2-cvs Subject: Re: [PHP-DEV] Question: How do you get a zval** in a non-deprecated way? From: fuhs@purdue.edu Ok, thanks. Is there a reason why this functionality is not supported in the new API? Josh Quoting Sascha Schumann : > 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 >