mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- MFB: Added arginfo
This commit is contained in:
parent
3143e62b80
commit
61a01e1c20
@ -480,8 +480,15 @@ zend_object_value dom_objects_store_clone_obj(zval *zobject TSRMLS_DC)
|
||||
return retval;
|
||||
}
|
||||
|
||||
/* {{{ arginfo */
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_import_simplexml, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, node)
|
||||
ZEND_END_ARG_INFO()
|
||||
/* }}} */
|
||||
|
||||
static const zend_function_entry dom_functions[] = {
|
||||
PHP_FE(dom_import_simplexml, NULL)
|
||||
PHP_FE(dom_import_simplexml, arginfo_dom_import_simplexml)
|
||||
{NULL, NULL, NULL}
|
||||
};
|
||||
|
||||
|
@ -37,13 +37,26 @@ static const char digits[] = "0123456789abcdef";
|
||||
#define PHP_JSON_HEX_APOS (1<<2)
|
||||
#define PHP_JSON_HEX_QUOT (1<<3)
|
||||
|
||||
/* {{{ arginfo */
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_json_encode, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, value)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_json_decode, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, json)
|
||||
ZEND_ARG_INFO(0, assoc)
|
||||
ZEND_END_ARG_INFO()
|
||||
/* }}} */
|
||||
|
||||
/* {{{ json_functions[]
|
||||
*
|
||||
* Every user visible function must have an entry in json_functions[].
|
||||
*/
|
||||
const function_entry json_functions[] = {
|
||||
PHP_FE(json_encode, NULL)
|
||||
PHP_FE(json_decode, NULL)
|
||||
PHP_FE(json_encode, arginfo_json_encode)
|
||||
PHP_FE(json_decode, arginfo_json_decode)
|
||||
{NULL, NULL, NULL} /* Must be the last line in json_functions[] */
|
||||
};
|
||||
/* }}} */
|
||||
|
@ -113,9 +113,15 @@ PHP_FUNCTION(pdo_drivers)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ arginfo */
|
||||
static
|
||||
ZEND_BEGIN_ARG_INFO(arginfo_pdo_drivers, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
/* }}} */
|
||||
|
||||
/* {{{ pdo_functions[] */
|
||||
const zend_function_entry pdo_functions[] = {
|
||||
PHP_FE(pdo_drivers, NULL)
|
||||
PHP_FE(pdo_drivers, arginfo_pdo_drivers)
|
||||
{NULL, NULL, NULL}
|
||||
};
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user