diff options
Diffstat (limited to 'Zend/tests/bug77613.phpt')
-rw-r--r-- | Zend/tests/bug77613.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Zend/tests/bug77613.phpt b/Zend/tests/bug77613.phpt new file mode 100644 index 0000000000..02d7ad4b72 --- /dev/null +++ b/Zend/tests/bug77613.phpt @@ -0,0 +1,19 @@ +--TEST-- +Bug #77613 (method visibility change) +--FILE-- +<?php +class A { + public function __construct() { + static $foo; + } +} + +class B extends A { } + +class C extends B { + private function __construct() {} +} +?> +OK +--EXPECT-- +OK |