I had asked about this before, but I ran into some kind of confirmation thing
and the discussion stopped.

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);

Zend/zend_API.c RELEASE ver 4.3.1
425c425,434
<
---
>               case 'Z':
>                       {
>                               zval ***p=va_arg(*va, zval ***);
>                               if(Z_TYPE_PP(arg) == IS_NULL &&
return_null){
>                                      *p = NULL;
>                               } else {
>                                      *p = arg;
>                               }
>                       }
>                       break;
474c483
<                       case 'z':
---
>                       case 'z': case 'Z':

Josh

Quoting Marcus Börger <[EMAIL PROTECTED]>:

> Hello fuhs,
> 
> Tuesday, July 8, 2003, 11:58:24 PM, you wrote:
> 
> fpe> Ok, thanks.
> 
> fpe> Is there a reason why this functionality is not supported in the new
> API?
> 
> Lazyness?
> 
> Provide a patch and maybe someone adds it. I guess you're not the own who
> ran
> into this :-)
> 
> 
> 
> 
> -- 
> Best regards,
>  Marcus                            mailto:[EMAIL PROTECTED]
> 
> 




-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to