summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-20 14:56:48 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-20 14:57:10 +0200
commit7fd4212cc0cda2dc28354e66aa072129d6ea80e9 (patch)
tree0cac8e331cc76db7a9e1ddc680168912809c0f9a /Zend/zend_API.h
parent05e9197c517baf740cf8228da3c123ca21cc8e4d (diff)
downloadphp-git-7fd4212cc0cda2dc28354e66aa072129d6ea80e9.tar.gz
Add common code for magic method assignment
This was repeated three times.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 67a3fa9d16..0eb4bffa39 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -320,6 +320,7 @@ ZEND_API void zend_collect_module_handlers(void);
ZEND_API void zend_destroy_modules(void);
ZEND_API void zend_check_magic_method_implementation(
const zend_class_entry *ce, const zend_function *fptr, zend_string *lcname, int error_type);
+ZEND_API void zend_add_magic_method(zend_class_entry *ce, zend_function *fptr, zend_string *lcname);
ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_entry);
ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);