summaryrefslogtreecommitdiff
path: root/tests/lang
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2010-02-13 01:08:04 +0000
committerJani Taskinen <jani@php.net>2010-02-13 01:08:04 +0000
commitf9843495d10b0604fb145fa386b962d9a560bdf1 (patch)
treee2e969607aa7e737d3575c67936b4b3c11d275ae /tests/lang
parentc9b509f90b87e841b63ba8852278bf8d3de38a49 (diff)
downloadphp-git-f9843495d10b0604fb145fa386b962d9a560bdf1.tar.gz
- Fixed tests
Diffstat (limited to 'tests/lang')
-rw-r--r--tests/lang/bug44827.phpt7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/lang/bug44827.phpt b/tests/lang/bug44827.phpt
index 38e1d45691..031045b083 100644
--- a/tests/lang/bug44827.phpt
+++ b/tests/lang/bug44827.phpt
@@ -9,6 +9,9 @@ Testfest Munich 2009
define('::', true);
var_dump(constant('::'));
?>
---EXPECTREGEX--
-.*Fatal.*
+--EXPECTF--
+Warning: Class constants cannot be defined or redefined in %s on line %d
+
+Warning: constant(): Couldn't find constant :: in %s on line %d
+NULL