Skip to content

Commit 4562af1

Browse files
committed
fixup! Improve error message for deprecated methods
1 parent 2579448 commit 4562af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_execute.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ ZEND_API zend_class_entry *zend_lookup_class(zend_string *name);
4444
ZEND_API zend_class_entry *zend_lookup_class_ex(zend_string *name, zend_string *lcname, uint32_t flags);
4545
ZEND_API zend_class_entry *zend_get_called_scope(zend_execute_data *ex);
4646
ZEND_API zend_object *zend_get_this_object(zend_execute_data *ex);
47-
ZEND_API zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_deprecated_function(const zend_function *fbc);
4847
ZEND_API int zend_eval_string(const char *str, zval *retval_ptr, const char *string_name);
4948
ZEND_API int zend_eval_stringl(const char *str, size_t str_len, zval *retval_ptr, const char *string_name);
5049
ZEND_API int zend_eval_string_ex(const char *str, zval *retval_ptr, const char *string_name, int handle_exceptions);
@@ -54,6 +53,7 @@ ZEND_API int zend_eval_stringl_ex(const char *str, size_t str_len, zval *retval_
5453
extern ZEND_API const zend_internal_function zend_pass_function;
5554

5655
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_missing_arg_error(zend_execute_data *execute_data);
56+
ZEND_API zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_deprecated_function(const zend_function *fbc);
5757

5858
ZEND_API zend_bool ZEND_FASTCALL zend_verify_ref_assignable_zval(zend_reference *ref, zval *zv, zend_bool strict);
5959
ZEND_API zend_bool ZEND_FASTCALL zend_verify_prop_assignable_by_ref(zend_property_info *prop_info, zval *orig_val, zend_bool strict);

0 commit comments

Comments
 (0)