summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-04-11 10:06:17 +0200
committerBob Weinand <bobwei9@hotmail.com>2014-04-11 10:08:44 +0200
commitf614fc68984b2d7fce3f275b8106955b5d910472 (patch)
tree10c98c57643c60af4d1ae6a56b7112fb274a65ed /Zend/zend_API.c
parentd3f390a26888eefd012b4634137318797965ea86 (diff)
downloadphp-git-f614fc68984b2d7fce3f275b8106955b5d910472.tar.gz
Fix bug #66015 by reverting "Removed operations on constant arrays."
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index ed13c6a7d6..106799cd82 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -3463,7 +3463,6 @@ ZEND_API int zend_declare_property_ex(zend_class_entry *ce, const char *name, in
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");