summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-09-17 21:25:01 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-09-18 12:12:36 +0200
commit5cf2045b0a2b30f57fa2877d416cd7ee88ba47e7 (patch)
treeeeef3702eba8ed9c5733fd1cbf16e4e36436c052
parente794bde35dcddd38997ff3ebe631111730c820ba (diff)
downloadphp-git-5cf2045b0a2b30f57fa2877d416cd7ee88ba47e7.tar.gz
Remove add_method() macro
Which uses add_assoc_function(), which doesn't exist anymore...
-rw-r--r--Zend/zend_API.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index ab25e49603..5fd84588b8 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -552,8 +552,6 @@ ZEND_API zend_bool zend_is_iterable(zval *iterable);
ZEND_API zend_bool zend_is_countable(zval *countable);
-#define add_method(arg, key, method) add_assoc_function((arg), (key), (method))
-
ZEND_API ZEND_FUNCTION(display_disabled_function);
ZEND_API ZEND_FUNCTION(display_disabled_class);
END_EXTERN_C()