Skip to content

Commit 1e1cffd

Browse files
committed
Fix naming of flf functions list list
1 parent ea2d1e8 commit 1e1cffd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Zend/zend_frameless_function.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ zend_function **zend_frameless_function_1_functions = NULL;
3838
zend_function **zend_frameless_function_2_functions = NULL;
3939
zend_function **zend_frameless_function_3_functions = NULL;
4040

41-
zend_function ** const* zend_frameless_function_0_functions_lists[] = {
41+
zend_function ** const* zend_frameless_function_functions_lists[] = {
4242
&zend_frameless_function_0_functions,
4343
&zend_frameless_function_1_functions,
4444
&zend_frameless_function_2_functions,

Zend/zend_frameless_function.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define ZEND_FRAMELESS_FUNCTION_NAME(name, arity) zdc_##name##_##arity
2929
#define ZEND_OP_IS_FRAMELESS_ICALL(opcode) ((opcode) >= ZEND_FRAMELESS_ICALL_0 && (opcode) <= ZEND_FRAMELESS_ICALL_3)
3030
#define ZEND_FLF_NUM_ARGS(opcode) ((opcode) - ZEND_FRAMELESS_ICALL_0)
31-
#define ZEND_FLF_FUNC(opline) ((*zend_frameless_function_0_functions_lists[ZEND_FLF_NUM_ARGS((opline)->opcode)])[(opline)->extended_value])
31+
#define ZEND_FLF_FUNC(opline) ((*zend_frameless_function_functions_lists[ZEND_FLF_NUM_ARGS((opline)->opcode)])[(opline)->extended_value])
3232

3333
#define ZEND_FRAMELESS_FUNCTION(name, arity) \
3434
void ZEND_FRAMELESS_FUNCTION_NAME(name, arity)(DIRECT_FUNCTION_PARAMETERS_##arity)
@@ -100,7 +100,7 @@ extern zend_function **zend_frameless_function_0_functions;
100100
extern zend_function **zend_frameless_function_1_functions;
101101
extern zend_function **zend_frameless_function_2_functions;
102102
extern zend_function **zend_frameless_function_3_functions;
103-
extern zend_function ** const* zend_frameless_function_0_functions_lists[];
103+
extern zend_function ** const* zend_frameless_function_functions_lists[];
104104

105105
typedef struct {
106106
void *handler;

0 commit comments

Comments
 (0)