summaryrefslogtreecommitdiff
path: root/Zend/tests/static_variable_in_private_method.phpt
blob: 0aa04a0918fc45a8e11e8890d2b2d859ea8f41d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Inheritance of private method with static variable
--FILE--
<?php

class A {
    private function m() {
        static $x;
    }
}
class B extends A {}

?>
===DONE===
--EXPECT--
===DONE===