- to retreive the zval **, thus allowing it to use the convert_to_*_ex()
- family of functions to do type conversions without effecting the value in
- the engine itself. (Josh Fuhs <fuhs@purdue.edu>)
}
}
break;
-
+ case 'Z':
+ {
+ zval ***p = va_arg(*va, zval ***);
+ if (Z_TYPE_PP(arg) == IS_NULL && return_null) {
+ *p = NULL;
+ } else {
+ *p = arg;
+ }
+ }
+ break;
default:
return "unknown";
}
case 's': case 'b':
case 'r': case 'a':
case 'o': case 'O':
- case 'z':
+ case 'z': case 'Z':
max_num_args++;
break;