add support for some variation of PHP_ARG_*, like in pecl_http