From 29ca8007ee0da4bab2682ba49a8218a1873473a9 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Mon, 26 Jun 2006 22:19:04 +0000 Subject: [PATCH] Add arginfo for sys_getloadavg() iUpdate arginfo for base64_decode() --- ext/standard/basic_functions.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 91fbfb9830e..eebeada2f72 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -932,6 +932,12 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_import_request_variables, 0, 0, 1) ZEND_ARG_INFO(0, types) ZEND_ARG_INFO(0, prefix) ZEND_END_ARG_INFO() + +#ifdef HAVE_GETLOADAVG +static +ZEND_BEGIN_ARG_INFO(arginfo_sys_getloadavg, 0) +ZEND_END_ARG_INFO() +#endif /* }}} */ /* {{{ assert.c */ static @@ -952,8 +958,9 @@ ZEND_BEGIN_ARG_INFO(arginfo_base64_encode, 0) ZEND_END_ARG_INFO() static -ZEND_BEGIN_ARG_INFO(arginfo_base64_decode, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_base64_decode, 0, 0, 1) ZEND_ARG_INFO(0, str) + ZEND_ARG_INFO(0, strict) ZEND_END_ARG_INFO() /* }}} */ @@ -3344,7 +3351,7 @@ zend_function_entry basic_functions[] = { PHP_FE(getopt, arginfo_getopt) #endif #ifdef HAVE_GETLOADAVG - PHP_FE(sys_getloadavg, NULL) + PHP_FE(sys_getloadavg, arginfo_sys_getloadavg) #endif #ifdef HAVE_GETTIMEOFDAY PHP_FE(microtime, arginfo_microtime)