summaryrefslogtreecommitdiff
path: root/tests/classes/final.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/final.phpt')
-rw-r--r--tests/classes/final.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/classes/final.phpt b/tests/classes/final.phpt
index 0e100d2304..75be8ec2f4 100644
--- a/tests/classes/final.phpt
+++ b/tests/classes/final.phpt
@@ -4,18 +4,18 @@ ZE2 A method may be redeclared final
<?php
class first {
- function show() {
- echo "Call to function first::show()\n";
- }
+ function show() {
+ echo "Call to function first::show()\n";
+ }
}
$t = new first();
$t->show();
class second extends first {
- final function show() {
- echo "Call to function second::show()\n";
- }
+ final function show() {
+ echo "Call to function second::show()\n";
+ }
}
$t2 = new second();