summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_059.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/ns_059.phpt')
-rw-r--r--Zend/tests/ns_059.phpt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/tests/ns_059.phpt b/Zend/tests/ns_059.phpt
index ea66037b43..301a6fc830 100644
--- a/Zend/tests/ns_059.phpt
+++ b/Zend/tests/ns_059.phpt
@@ -3,6 +3,7 @@
--FILE--
<?php
const C = array();
+var_dump(C);
--EXPECTF--
-Fatal error: Arrays are not allowed as constants in %sns_059.php on line 2
-
+array(0) {
+}