diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-05-07 15:03:56 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-05-07 15:03:56 +0400 |
commit | 0c6a6f0fba3be20010e36e127f52e58531eee32d (patch) | |
tree | 3a59ce914b8df46324a7616356deebe42d1ee42d /Zend/zend_API.c | |
parent | 2393000aeb6be8f7dd9e33585b96bb279f4f1eff (diff) | |
download | php-git-0c6a6f0fba3be20010e36e127f52e58531eee32d.tar.gz |
Re-applyed Bob's patch with minor fixes
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 033927b68a..f944de9df3 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -3575,7 +3575,6 @@ ZEND_API int zend_declare_property_ex(zend_class_entry *ce, zend_string *name, z if (ce->type & ZEND_INTERNAL_CLASS) { switch(Z_TYPE_P(property)) { case IS_ARRAY: - case IS_CONSTANT_ARRAY: case IS_OBJECT: case IS_RESOURCE: zend_error(E_CORE_ERROR, "Internal zval's can't be arrays, objects or resources"); |