summaryrefslogtreecommitdiff
path: root/Zend/tests/bug76869.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug76869.phpt')
-rw-r--r--Zend/tests/bug76869.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/Zend/tests/bug76869.phpt b/Zend/tests/bug76869.phpt
index 0193bf2102..825bed0eb1 100644
--- a/Zend/tests/bug76869.phpt
+++ b/Zend/tests/bug76869.phpt
@@ -3,20 +3,20 @@ Bug #76869 (Incorrect bypassing protected method accessibility check)
--FILE--
<?php
class A {
- private function f() {
- return "A";
- }
+ private function f() {
+ return "A";
+ }
}
class B extends A {
- protected function f() {
- return "B";
- }
+ protected function f() {
+ return "B";
+ }
}
$b = new B();
try {
- var_dump($b->f());
+ var_dump($b->f());
} catch (Throwable $e) {
- echo "Exception: ", $e->getMessage(), "\n";
+ echo "Exception: ", $e->getMessage(), "\n";
}
?>
--EXPECT--