mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Fix tests affected by fix
This commit is contained in:
parent
81b536f4a6
commit
ec6db3d242
4 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue