20 lines
640 B
C
20 lines
640 B
C
|
|
|
|
#if PHP_VERSION_ID < 80100
|
|
#define ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null) \
|
|
ZEND_BEGIN_ARG_INFO_EX(name, return_reference, required_num_args, allow_null)
|
|
#endif
|
|
|
|
#if PHP_VERSION_ID < 80000
|
|
// Allow the generated stubs to work on previous versions of PHP
|
|
|
|
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value) \
|
|
ZEND_ARG_INFO(pass_by_ref, name)
|
|
|
|
#define ZEND_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value) \
|
|
ZEND_ARG_INFO(pass_by_ref, name)
|
|
|
|
#define MAY_BE_STRING ""
|
|
|
|
#endif
|