File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES
16
16
m. All internal functions must have arginfo
17
17
n. zend_hash_sort compare function signature change
18
18
o. cast_object() object handler is now required
19
+ p. ARG_COUNT() macro removed
19
20
20
21
2. Build system changes
21
22
a. Abstract
@@ -114,6 +115,8 @@ PHP 8.0 INTERNALS UPGRADE NOTES
114
115
o. The cast_object() handler is now required, i.e. must be non-null. You can
115
116
indicate that casting is not supported by always returning FAILURE.
116
117
118
+ p. The ARG_COUNT() macro has been removed use ZEND_NUM_ARGS() instead.
119
+
117
120
========================
118
121
2. Build system changes
119
122
========================
Original file line number Diff line number Diff line change @@ -408,7 +408,6 @@ ZEND_API const char *zend_get_type_by_const(int type);
408
408
409
409
#define WRONG_PARAM_COUNT ZEND_WRONG_PARAM_COUNT()
410
410
#define WRONG_PARAM_COUNT_WITH_RETVAL (ret ) ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(ret)
411
- #define ARG_COUNT (dummy ) EX_NUM_ARGS()
412
411
#define ZEND_NUM_ARGS () EX_NUM_ARGS()
413
412
#define ZEND_WRONG_PARAM_COUNT () { zend_wrong_param_count(); return; }
414
413
#define ZEND_WRONG_PARAM_COUNT_WITH_RETVAL (ret ) { zend_wrong_param_count(); return ret; }
You can’t perform that action at this time.
0 commit comments