mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Update test (reason: early binding changes its behavior)
This commit is contained in:
parent
4b4351c2d9
commit
aa4fa62fc8
1 changed files with 0 additions and 3 deletions
|
@ -12,7 +12,6 @@ class pass {
|
|||
}
|
||||
|
||||
$t = new pass();
|
||||
$t->show();
|
||||
|
||||
class fail extends pass {
|
||||
function show() {
|
||||
|
@ -23,6 +22,4 @@ class fail extends pass {
|
|||
echo "Done\n"; // Shouldn't be displayed
|
||||
?>
|
||||
--EXPECTF--
|
||||
Call to function pass::show()
|
||||
|
||||
Fatal error: Cannot override final method pass::show() in %s on line %d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue