We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a96aa9 commit cb94096Copy full SHA for cb94096
ext/compatibility.h
@@ -312,6 +312,7 @@ static zend_always_inline void zend_array_release(zend_array *array)
312
}
313
314
#define ZEND_ARG_SEND_MODE(arg_info) (arg_info)->pass_by_reference
315
+#define zend_value_error zend_type_error
316
#endif
317
318
#if PHP_VERSION_ID < 80100
ext/user_request.c
@@ -124,7 +124,7 @@ PHP_FUNCTION(DDTrace_UserRequest_notify_commit)
124
125
126
if (status < 100 || status > 599) {
127
- zend_type_error("Status code must be between 100 and 599");
+ zend_value_error("Status code must be between 100 and 599");
128
return;
129
130
0 commit comments