31
31
#include "zend_virtual_cwd.h"
32
32
#include "ext/standard/info.h"
33
33
#include "ext/standard/php_filestat.h"
34
+ #include "opcache_arginfo.h"
34
35
35
36
#if HAVE_JIT
36
37
#include "jit/zend_jit.h"
@@ -45,26 +46,6 @@ static zif_handler orig_file_exists = NULL;
45
46
static zif_handler orig_is_file = NULL ;
46
47
static zif_handler orig_is_readable = NULL ;
47
48
48
- ZEND_BEGIN_ARG_INFO (arginfo_opcache_none , 0 )
49
- ZEND_END_ARG_INFO ()
50
-
51
- ZEND_BEGIN_ARG_INFO_EX (arginfo_opcache_get_status , 0 , 0 , 0 )
52
- ZEND_ARG_INFO (0 , fetch_scripts )
53
- ZEND_END_ARG_INFO ()
54
-
55
- ZEND_BEGIN_ARG_INFO_EX (arginfo_opcache_compile_file , 0 , 0 , 1 )
56
- ZEND_ARG_INFO (0 , file )
57
- ZEND_END_ARG_INFO ()
58
-
59
- ZEND_BEGIN_ARG_INFO_EX (arginfo_opcache_invalidate , 0 , 0 , 1 )
60
- ZEND_ARG_INFO (0 , script )
61
- ZEND_ARG_INFO (0 , force )
62
- ZEND_END_ARG_INFO ()
63
-
64
- ZEND_BEGIN_ARG_INFO_EX (arginfo_opcache_is_script_cached , 0 , 0 , 1 )
65
- ZEND_ARG_INFO (0 , script )
66
- ZEND_END_ARG_INFO ()
67
-
68
49
/* User functions */
69
50
static ZEND_FUNCTION (opcache_reset );
70
51
static ZEND_FUNCTION (opcache_invalidate );
@@ -77,12 +58,12 @@ static ZEND_FUNCTION(opcache_get_configuration);
77
58
78
59
static const zend_function_entry accel_functions [] = {
79
60
/* User functions */
80
- ZEND_FE (opcache_reset , arginfo_opcache_none )
61
+ ZEND_FE (opcache_reset , arginfo_opcache_reset )
81
62
ZEND_FE (opcache_invalidate , arginfo_opcache_invalidate )
82
63
ZEND_FE (opcache_compile_file , arginfo_opcache_compile_file )
83
64
ZEND_FE (opcache_is_script_cached , arginfo_opcache_is_script_cached )
84
65
/* Private functions */
85
- ZEND_FE (opcache_get_configuration , arginfo_opcache_none )
66
+ ZEND_FE (opcache_get_configuration , arginfo_opcache_get_configuration )
86
67
ZEND_FE (opcache_get_status , arginfo_opcache_get_status )
87
68
ZEND_FE_END
88
69
};
0 commit comments