From ae5d7604f699dac4fd824e594c7df5439a36c29b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 8 Jan 2020 14:18:14 +0100 Subject: Fix #65274: Add class name to undef class constant error --- tests/classes/constants_basic_001.phpt | 2 +- tests/classes/constants_visibility_004.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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} -- cgit v1.2.1