1--TEST-- 2ZE2 A derived class does not know about privates of ancestors 3--FILE-- 4<?php 5 6class Bar { 7 public static function pub() { 8 Bar::priv(); 9 } 10 private static function priv() { 11 echo "Bar::priv()\n"; 12 } 13} 14class Foo extends Bar { 15 public static function priv() { 16 echo "Foo::priv()\n"; 17 } 18} 19 20Foo::pub(); 21Foo::priv(); 22 23echo "Done\n"; 24?> 25--EXPECT-- 26Bar::priv() 27Foo::priv() 28Done 29