1--TEST-- 2Bug #63468 (wrong called method as callback with inheritance) 3--FILE-- 4<?php 5class Foo 6{ 7 public function run() 8 { 9 return call_user_func(array('Bar', 'getValue')); 10 } 11 12 private static function getValue() 13 { 14 return 'Foo'; 15 } 16} 17 18class Bar extends Foo 19{ 20 public static function getValue() 21 { 22 return 'Bar'; 23 } 24} 25 26$x = new Bar; 27var_dump($x->run()); 28--EXPECT-- 29string(3) "Bar" 30 31