1<?php
2
3class A {
4    public function test() {
5        static $foo;
6    }
7}
8
9class B extends A {}
10