1--TEST--
2Inconsistencies when accessing protected members - 2
3--XFAIL--
4Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2
5--FILE--
6<?php
7
8class A {
9    static protected function f() {return 'A::f()';}
10}
11class B1 extends A {
12    static protected function f() {return 'B1::f()';}
13}
14class B2 extends A {
15    static public function test() {
16        var_dump(is_callable('B1::f'));
17        B1::f();
18    }
19}
20B2::test();
21
22?>
23--EXPECTF--
24bool(false)
25
26Fatal error: Call to protected method B1::f() from scope B2 in %s on line %d
27