summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/classes/abstract_derived.phpt2
-rw-r--r--tests/classes/abstract_not_declared.phpt2
-rw-r--r--tests/classes/abstract_redeclare.phpt2
-rw-r--r--tests/classes/interfaces_002.phpt6
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/classes/abstract_derived.phpt b/tests/classes/abstract_derived.phpt
index 81cb3341ec..0feceac6bb 100644
--- a/tests/classes/abstract_derived.phpt
+++ b/tests/classes/abstract_derived.phpt
@@ -17,4 +17,4 @@ class derived extends base {
<?php exit(0); ?>
--EXPECTF--
-Fatal error: Class derived contains 1 abstract methods and must therefore be declared abstract (derived::show) in %sabstract_derived.php on line %d
+Fatal error: Class derived contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (derived::show) in %sabstract_derived.php on line %d
diff --git a/tests/classes/abstract_not_declared.phpt b/tests/classes/abstract_not_declared.phpt
index 96c98857e3..3b81cd4980 100644
--- a/tests/classes/abstract_not_declared.phpt
+++ b/tests/classes/abstract_not_declared.phpt
@@ -12,4 +12,4 @@ class fail {
echo "Done\n"; // shouldn't be displayed
?>
--EXPECTF--
-Fatal error: Class fail contains 1 abstract methods and must therefore be declared abstract (fail::show) in %s on line %d
+Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (fail::show) in %s on line %d
diff --git a/tests/classes/abstract_redeclare.phpt b/tests/classes/abstract_redeclare.phpt
index 716dd17fd1..9a0a1edc3c 100644
--- a/tests/classes/abstract_redeclare.phpt
+++ b/tests/classes/abstract_redeclare.phpt
@@ -19,4 +19,4 @@ echo "Done\n"; // Shouldn't be displayed
?>
--EXPECTF--
-Fatal error: Class fail contains 1 abstract methods and must therefore be declared abstract (fail::show) in %sabstract_redeclare.php on line %d
+Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (fail::show) in %sabstract_redeclare.php on line %d
diff --git a/tests/classes/interfaces_002.phpt b/tests/classes/interfaces_002.phpt
index 66d46f5d36..d26b5349bf 100644
--- a/tests/classes/interfaces_002.phpt
+++ b/tests/classes/interfaces_002.phpt
@@ -20,10 +20,10 @@ class Exception_foo implements Throwable {
// this should die -- Exception class must be abstract...
$foo = new Exception_foo;
-echo $foo->getMessage() . "\n";
+echo "Message: " . $foo->getMessage() . "\n";
?>
+===DONE===
--EXPECTF--
-Fatal error: Class Exception_foo contains 1 abstract methods and must therefore be declared abstract (Throwable::getErrno) in %s on line %d
-
+Fatal error: Class Exception_foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Throwable::getErrno) in %s on line %d