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 /ext/standard/php_incomplete_class.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 'ext/standard/php_incomplete_class.h')
-rw-r--r-- | ext/standard/php_incomplete_class.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/php_incomplete_class.h b/ext/standard/php_incomplete_class.h index 6001e35bbe..7be152f1c0 100644 --- a/ext/standard/php_incomplete_class.h +++ b/ext/standard/php_incomplete_class.h @@ -28,8 +28,7 @@ #define PHP_SET_CLASS_ATTRIBUTES(struc) \ /* OBJECTS_FIXME: Fix for new object model */ \ - if (Z_OBJ_HT_P(struc)->get_class_entry && \ - Z_OBJCE_P(struc) == BG(incomplete_class)) { \ + if (Z_OBJCE_P(struc) == BG(incomplete_class)) { \ class_name = php_lookup_class_name(struc); \ if (!class_name) { \ class_name = zend_string_init(INCOMPLETE_CLASS, sizeof(INCOMPLETE_CLASS) - 1, 0); \ |