summaryrefslogtreecommitdiff
path: root/ext/standard/array.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-07-30 17:57:07 +0200
committerBob Weinand <bobwei9@hotmail.com>2014-07-30 17:57:07 +0200
commitd5ddd2dbb263cd626a5e0f203c00d6f39168507b (patch)
tree5e9c7a8f0bbd3b39d990305f56892935a5b4f44e /ext/standard/array.c
parent354ee12b73dbe20d0c4fa7883eb34714f89109df (diff)
downloadphp-git-d5ddd2dbb263cd626a5e0f203c00d6f39168507b.tar.gz
Disable restrictions regarding arrays in constants at run-time.
For the discussion around it, see the thread on the mailing list: http://www.mail-archive.com/internals@lists.php.net/msg68245.html
Diffstat (limited to 'ext/standard/array.c')
-rw-r--r--ext/standard/array.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c
index cca2f2583c..f4806593c1 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -339,7 +339,6 @@ PHP_FUNCTION(count)
RETVAL_LONG(Z_LVAL_P(retval));
zval_ptr_dtor(&retval);
}
- zval_ptr_dtor(&mode_zv);
return;
}
#endif