Re: [PHP-DEV] [PATCH] Add 'Z' flag to zend_parse_parameters*()

2003-07-11 Thread Andi Gutmans
I commited the patch (after a couple of whitespace fixes). Thanks, Andi At 02:04 AM 11/7/2003 -0500, Josh Fuhs wrote: The simple explanation is that it is functionality that was previously offered by get_parameters(), which is now deprecated. The long explanation is that I've been writing a data

Re: [PHP-DEV] [PATCH] Add 'Z' flag to zend_parse_parameters*()

2003-07-11 Thread Josh Fuhs
The simple explanation is that it is functionality that was previously offered by get_parameters(), which is now deprecated. The long explanation is that I've been writing a database interface extension that has many functions that could potentially take as input any data type. These functions don

Re: [PHP-DEV] [PATCH] Add 'Z' flag to zend_parse_parameters*()

2003-07-10 Thread Andi Gutmans
I don't have any real problem with this patch. However, I didn't quite understand why you need it. Can you please remind me? Andi At 04:22 PM 10/7/2003 -0500, Josh Fuhs wrote: How will I know if this gets included in the CVS source repository? If it doesn't, could someone please explain why not

Re: [PHP-DEV] [PATCH] Add 'Z' flag to zend_parse_parameters*()

2003-07-10 Thread Josh Fuhs
How will I know if this gets included in the CVS source repository? If it doesn't, could someone please explain why not and give me an alternative solution to my problem? I'm currently using the patched version of PHP and I don't want to upgrade unless I know this change is included. Thanks Jos

Re: [PHP-DEV] [PATCH] Add 'Z' flag to zend_parse_parameters*()

2003-07-08 Thread Josh Fuhs
Certainly. One cannot use the convert_to_*_ex() functions unless you have a zval**. A couple people have suggested that I just use "z/", but this forces a separation and I may not need that. I want to be able to pass an array or an object to a group of functions. An object simply gets converte

Re: [PHP-DEV] [PATCH] Add 'Z' flag to zend_parse_parameters*()

2003-07-08 Thread Andi Gutmans
I don't quite understand how this is of added value over the existing "z". Can you please explain in more detail? Thanks, Andi At 07:05 PM 8/7/2003 -0500, [EMAIL PROTECTED] wrote: One more time. I hope it's not too obvious that I'm new at this :) This patch would add a 'Z' flag to zend_parse_param

Re: [PHP-DEV] [PATCH] Add 'Z' flag to zend_parse_parameters*()

2003-07-08 Thread Jon Parise
On Tue, Jul 08, 2003 at 07:05:18PM -0500, [EMAIL PROTECTED] wrote: > One more time. I hope it's not too obvious that I'm new at this :) > > This patch would add a 'Z' flag to zend_parse_parameters*(). > > Example: > #typdef zvar zval** > zvar a_zvar; > zend_parse_parameters(ZEND_NUM_

Re: [PHP-DEV] [PATCH] Add 'Z' flag to zend_parse_parameters*()

2003-07-08 Thread fuhs
One more time. I hope it's not too obvious that I'm new at this :) This patch would add a 'Z' flag to zend_parse_parameters*(). Example: #typdef zvar zval** zvar a_zvar; zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &zvar); Josh Index: zend_API.c =

[PHP-DEV] [PATCH] Add 'Z' flag to zend_parse_parameters*()

2003-07-08 Thread fuhs
Second time around. This patch would add a 'Z' flag to zend_parse_parameters*(). Example: #typdef zvar zval** zvar a_zvar; zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &zvar); Index: zend_API.c === RCS file: /