mirror of
https://github.com/php/php-src.git
synced 2026-04-18 05:21:02 +02:00
Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal functions. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
44 lines
1.6 KiB
C
44 lines
1.6 KiB
C
/* This is a generated file, edit the .stub.php file instead. */
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_opcache_reset, 0, 0, _IS_BOOL, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_opcache_get_status, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
|
|
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fetch_scripts, _IS_BOOL, 0, "true")
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_opcache_compile_file, 0, 1, _IS_BOOL, 0)
|
|
ZEND_ARG_TYPE_INFO(0, file, IS_STRING, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_opcache_invalidate, 0, 1, _IS_BOOL, 0)
|
|
ZEND_ARG_TYPE_INFO(0, script, IS_STRING, 0)
|
|
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, force, _IS_BOOL, 0, "false")
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_opcache_get_configuration, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_opcache_is_script_cached, 0, 1, _IS_BOOL, 0)
|
|
ZEND_ARG_TYPE_INFO(0, script, IS_STRING, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
|
|
ZEND_FUNCTION(opcache_reset);
|
|
ZEND_FUNCTION(opcache_get_status);
|
|
ZEND_FUNCTION(opcache_compile_file);
|
|
ZEND_FUNCTION(opcache_invalidate);
|
|
ZEND_FUNCTION(opcache_get_configuration);
|
|
ZEND_FUNCTION(opcache_is_script_cached);
|
|
|
|
|
|
static const zend_function_entry ext_functions[] = {
|
|
ZEND_FE(opcache_reset, arginfo_opcache_reset)
|
|
ZEND_FE(opcache_get_status, arginfo_opcache_get_status)
|
|
ZEND_FE(opcache_compile_file, arginfo_opcache_compile_file)
|
|
ZEND_FE(opcache_invalidate, arginfo_opcache_invalidate)
|
|
ZEND_FE(opcache_get_configuration, arginfo_opcache_get_configuration)
|
|
ZEND_FE(opcache_is_script_cached, arginfo_opcache_is_script_cached)
|
|
ZEND_FE_END
|
|
};
|