From 0c6a6f0fba3be20010e36e127f52e58531eee32d Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 7 May 2014 15:03:56 +0400 Subject: Re-applyed Bob's patch with minor fixes --- Zend/zend_API.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Zend/zend_API.c') 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"); -- cgit v1.2.1