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}
};
#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[] */
};
/* }}} */
}
/* }}} */
+/* {{{ 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}
};
/* }}} */