diff options
author | Julien Pauli <jpauli@php.net> | 2015-08-18 14:32:56 +0200 |
---|---|---|
committer | Julien Pauli <jpauli@php.net> | 2015-08-18 14:33:04 +0200 |
commit | 9a138b47c955c60f13062ff7bb60a4d0f5ec7532 (patch) | |
tree | 318f46ad15d7a269731fc6bc30bc83b33023a5fb | |
parent | a1c9c318ea5b96e9f1a4622c1bc8b6d7e527b764 (diff) | |
download | php-git-9a138b47c955c60f13062ff7bb60a4d0f5ec7532.tar.gz |
Removed unused code
-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); |