diff options
-rw-r--r-- | Zend/zend_API.c | 7 | ||||
-rw-r--r-- | Zend/zend_API.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 4a29c9e117..559a1d289b 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1321,13 +1321,6 @@ ZEND_API int _object_init(zval *arg ZEND_FILE_LINE_DC) /* {{{ */ } /* }}} */ -ZEND_API int add_assoc_function(zval *arg, const char *key, void (*function_ptr)(INTERNAL_FUNCTION_PARAMETERS)) /* {{{ */ -{ - zend_error(E_WARNING, "add_assoc_function() is no longer supported"); - return FAILURE; -} -/* }}} */ - ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n) /* {{{ */ { zval *ret, tmp; diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 8dc3e8a2e8..0fc05848f2 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -386,9 +386,6 @@ ZEND_API void object_properties_load(zend_object *object, HashTable *properties) ZEND_API void zend_merge_properties(zval *obj, HashTable *properties); -/* no longer supported */ -ZEND_API int add_assoc_function(zval *arg, const char *key, void (*function_ptr)(INTERNAL_FUNCTION_PARAMETERS)); - ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n); ZEND_API int add_assoc_null_ex(zval *arg, const char *key, size_t key_len); ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b); |