summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-04-11 20:14:44 +0200
committerBob Weinand <bobwei9@hotmail.com>2014-04-11 20:14:44 +0200
commitca447a8f6f65be565301350e27e0f6a57369a0f9 (patch)
tree7ee90353d152cbb614d57cc5b632d5c8016c02c0 /tests
parentccf863c8ce7e746948fb060d515960492c41ed27 (diff)
parent096e40a027eb3df6364c3674660b8c9592e1f1b6 (diff)
downloadphp-git-ca447a8f6f65be565301350e27e0f6a57369a0f9.tar.gz
Merge branch 'PHP-5.6'
Diffstat (limited to 'tests')
-rw-r--r--tests/classes/constants_error_002.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/classes/constants_error_002.phpt b/tests/classes/constants_error_002.phpt
index be27971b87..610a42da9b 100644
--- a/tests/classes/constants_error_002.phpt
+++ b/tests/classes/constants_error_002.phpt
@@ -2,11 +2,11 @@
Error case: class constant as an array
--FILE--
<?php
- class myclass
- {
- const myConst = array();
- }
+class myclass
+{
+ const myConst = array();
+}
?>
+===DONE===
--EXPECTF--
-
-Fatal error: Arrays are not allowed in class constants in %s on line 4
+===DONE===