xref: /php-src/ext/opcache/opcache_arginfo.h (revision 654b787e)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: c416c231c5d1270b7e5961f84cc3ca3e29db4959 */
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_INFO_EX(arginfo_opcache_jit_blacklist, 0, 1, IS_VOID, 0)
21 	ZEND_ARG_OBJ_INFO(0, closure, Closure, 0)
22 ZEND_END_ARG_INFO()
23 
24 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_opcache_get_configuration, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
25 ZEND_END_ARG_INFO()
26 
27 #define arginfo_opcache_is_script_cached arginfo_opcache_compile_file
28 
29 ZEND_FUNCTION(opcache_reset);
30 ZEND_FUNCTION(opcache_get_status);
31 ZEND_FUNCTION(opcache_compile_file);
32 ZEND_FUNCTION(opcache_invalidate);
33 ZEND_FUNCTION(opcache_jit_blacklist);
34 ZEND_FUNCTION(opcache_get_configuration);
35 ZEND_FUNCTION(opcache_is_script_cached);
36 
37 static const zend_function_entry ext_functions[] = {
38 	ZEND_FE(opcache_reset, arginfo_opcache_reset)
39 	ZEND_FE(opcache_get_status, arginfo_opcache_get_status)
40 	ZEND_FE(opcache_compile_file, arginfo_opcache_compile_file)
41 	ZEND_FE(opcache_invalidate, arginfo_opcache_invalidate)
42 	ZEND_FE(opcache_jit_blacklist, arginfo_opcache_jit_blacklist)
43 	ZEND_FE(opcache_get_configuration, arginfo_opcache_get_configuration)
44 	ZEND_FE(opcache_is_script_cached, arginfo_opcache_is_script_cached)
45 	ZEND_FE_END
46 };
47