Commit: 2b3a4afcbfc2786a075ef8a7410a495f102314ec Author: Dmitry Stogov <dmi...@zend.com> Wed, 10 Apr 2013 16:45:59 +0400 Parents: 7845f49006cbe7876a7e28db54acbc8cde284986 Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2b3a4afcbfc2786a075ef8a7410a495f102314ec Log: Added missing ARG_INFO Changed paths: M ext/opcache/zend_accelerator_module.c Diff: diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c index 33ccba5..fa4e3d8 100644 --- a/ext/opcache/zend_accelerator_module.c +++ b/ext/opcache/zend_accelerator_module.c @@ -41,6 +41,18 @@ static void (*orig_file_exists)(INTERNAL_FUNCTION_PARAMETERS) = NULL; static void (*orig_is_file)(INTERNAL_FUNCTION_PARAMETERS) = NULL; static void (*orig_is_readable)(INTERNAL_FUNCTION_PARAMETERS) = NULL; +ZEND_BEGIN_ARG_INFO(arginfo_opcache_none, 0) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_opcache_get_status, 0, 0, 0) + ZEND_ARG_INFO(0, fetch_scripts) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_opcache_invalidate, 0, 0, 1) + ZEND_ARG_INFO(0, script) + ZEND_ARG_INFO(0, force) +ZEND_END_ARG_INFO() + /* User functions */ static ZEND_FUNCTION(opcache_reset); static ZEND_FUNCTION(opcache_invalidate); @@ -51,11 +63,11 @@ static ZEND_FUNCTION(opcache_get_configuration); static zend_function_entry accel_functions[] = { /* User functions */ - ZEND_FE(opcache_reset, NULL) - ZEND_FE(opcache_invalidate, NULL) + ZEND_FE(opcache_reset, arginfo_opcache_none) + ZEND_FE(opcache_invalidate, arginfo_opcache_invalidate) /* Private functions */ - ZEND_FE(opcache_get_configuration, NULL) - ZEND_FE(opcache_get_status, NULL) + ZEND_FE(opcache_get_configuration, arginfo_opcache_none) + ZEND_FE(opcache_get_status, arginfo_opcache_get_status) { NULL, NULL, NULL, 0, 0 } }; -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php