summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-01-08 14:18:14 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-01-08 14:18:14 +0100
commitae5d7604f699dac4fd824e594c7df5439a36c29b (patch)
treef5cc2e889f3d749b181b20a8fc1ed5939310a416 /tests
parent4cac97bfb9b2321b00fa508162957e19dc0afb4b (diff)
downloadphp-git-ae5d7604f699dac4fd824e594c7df5439a36c29b.tar.gz
Fix #65274: Add class name to undef class constant error
Diffstat (limited to 'tests')
-rw-r--r--tests/classes/constants_basic_001.phpt2
-rw-r--r--tests/classes/constants_visibility_004.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/classes/constants_basic_001.phpt b/tests/classes/constants_basic_001.phpt
index af9915c277..796c8d559e 100644
--- a/tests/classes/constants_basic_001.phpt
+++ b/tests/classes/constants_basic_001.phpt
@@ -79,7 +79,7 @@ string(6) "hello2"
Expecting fatal error:
-Fatal error: Uncaught Error: Undefined class constant 'c19' in %s:%d
+Fatal error: Uncaught Error: Undefined class constant 'C::c19' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/tests/classes/constants_visibility_004.phpt b/tests/classes/constants_visibility_004.phpt
index 93acacf3c9..983b2e247b 100644
--- a/tests/classes/constants_visibility_004.phpt
+++ b/tests/classes/constants_visibility_004.phpt
@@ -21,7 +21,7 @@ B::checkConstants();
int(1)
int(2)
-Fatal error: Uncaught Error: Undefined class constant 'Z' in %s:11
+Fatal error: Uncaught Error: Undefined class constant 'B::Z' in %s:11
Stack trace:
#0 %s(15): B::checkConstants()
#1 {main}