xref: /PHP-8.3/ext/opcache/opcache_arginfo.h (revision 6a47831e)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 81f337ea4ac5361ca4a0873fcd3b033beaf524c6 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_opcache_reset, 0, 0, _IS_BOOL, 0)
5 ZEND_END_ARG_INFO()
6 
7 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_opcache_get_status, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
8 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, include_scripts, _IS_BOOL, 0, "true")
9 ZEND_END_ARG_INFO()
10 
11 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_opcache_compile_file, 0, 1, _IS_BOOL, 0)
12 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
13 ZEND_END_ARG_INFO()
14 
15 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_opcache_invalidate, 0, 1, _IS_BOOL, 0)
16 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
17 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, force, _IS_BOOL, 0, "false")
18 ZEND_END_ARG_INFO()
19 
20 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_opcache_get_configuration, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
21 ZEND_END_ARG_INFO()
22 
23 #define arginfo_opcache_is_script_cached arginfo_opcache_compile_file
24 
25 
26 ZEND_FUNCTION(opcache_reset);
27 ZEND_FUNCTION(opcache_get_status);
28 ZEND_FUNCTION(opcache_compile_file);
29 ZEND_FUNCTION(opcache_invalidate);
30 ZEND_FUNCTION(opcache_get_configuration);
31 ZEND_FUNCTION(opcache_is_script_cached);
32 
33 
34 static const zend_function_entry ext_functions[] = {
35 	ZEND_FE(opcache_reset, arginfo_opcache_reset)
36 	ZEND_FE(opcache_get_status, arginfo_opcache_get_status)
37 	ZEND_FE(opcache_compile_file, arginfo_opcache_compile_file)
38 	ZEND_FE(opcache_invalidate, arginfo_opcache_invalidate)
39 	ZEND_FE(opcache_get_configuration, arginfo_opcache_get_configuration)
40 	ZEND_FE(opcache_is_script_cached, arginfo_opcache_is_script_cached)
41 	ZEND_FE_END
42 };
43