diff options
author | Nikita Popov <nikic@php.net> | 2014-10-09 13:58:14 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-10-09 13:58:14 +0200 |
commit | ee5b30fa197046973e813a80dd0b7c67827c0ae1 (patch) | |
tree | 71e0c4f24afee1eac312b7dae97448cc871c0421 /Zend/zend_object_handlers.h | |
parent | 43f1c94ddace679cac008b674ef983199a951542 (diff) | |
download | php-git-ee5b30fa197046973e813a80dd0b7c67827c0ae1.tar.gz |
Remove support for classes without class entries
get_class_entry must be non-NULL and return non-NULL.
Diffstat (limited to 'Zend/zend_object_handlers.h')
-rw-r--r-- | Zend/zend_object_handlers.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index bc8500c3ec..14b13be308 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -166,10 +166,6 @@ ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int ty ZEND_API void zend_std_write_property(zval *object, zval *member, zval *value, void **cache_slot TSRMLS_DC); ZEND_API void rebuild_object_properties(zend_object *zobj); - -#define IS_ZEND_STD_OBJECT(z) (Z_TYPE(z) == IS_OBJECT && (Z_OBJ_HT((z))->get_class_entry != NULL)) -#define HAS_CLASS_ENTRY(z) (Z_OBJ_HT(z)->get_class_entry != NULL) - ZEND_API int zend_check_private(union _zend_function *fbc, zend_class_entry *ce, zend_string *function_name TSRMLS_DC); ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope); |