mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
Update test (reason: early binding changes its behavior)
This commit is contained in:
parent
52b5f3fea1
commit
4b4351c2d9
@ -12,7 +12,6 @@ final class base {
|
||||
}
|
||||
|
||||
$t = new base();
|
||||
$t->show();
|
||||
|
||||
class derived extends base {
|
||||
}
|
||||
@ -20,6 +19,4 @@ class derived extends base {
|
||||
echo "Done\n"; // shouldn't be displayed
|
||||
?>
|
||||
--EXPECTF--
|
||||
base
|
||||
|
||||
Fatal error: Class derived may not inherit from final class (base) in %s on line %d
|
||||
|
Loading…
Reference in New Issue
Block a user