Skip to content

Commit 34dea56

Browse files
committed
fixup! Improve error message for deprecated methods
1 parent 23cbb39 commit 34dea56

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,7 @@ 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-
extern ZEND_API zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_deprecated_function(const zend_function *fbc);
47+
ZEND_API zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_deprecated_function(const zend_function *fbc);
4848
ZEND_API int zend_eval_string(const char *str, zval *retval_ptr, const char *string_name);
4949
ZEND_API int zend_eval_stringl(const char *str, size_t str_len, zval *retval_ptr, const char *string_name);
5050
ZEND_API int zend_eval_string_ex(const char *str, zval *retval_ptr, const char *string_name, int handle_exceptions);

0 commit comments

Comments
 (0)