mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
- Fix tests affected by fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user