diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-04-11 20:13:24 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-04-11 20:13:24 +0200 |
commit | 096e40a027eb3df6364c3674660b8c9592e1f1b6 (patch) | |
tree | dc5a6b510864c88b79476a1a607fd8d5ad8c86f6 /tests/classes | |
parent | 99d1a1bb3f96364d1ee7bf3e9c84215001200112 (diff) | |
download | php-git-096e40a027eb3df6364c3674660b8c9592e1f1b6.tar.gz |
Fixed tests for recent constant array changes
Diffstat (limited to 'tests/classes')
-rw-r--r-- | tests/classes/constants_error_002.phpt | 12 |
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=== |