|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 Patchesbug63468.patch (last revision 2012-11-08 15:04 UTC by laruence@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits              [2012-11-08 15:04 UTC] laruence@php.net
  [2012-11-08 15:05 UTC] laruence@php.net
  [2012-11-08 15:05 UTC] laruence@php.net
 
-Assigned To:
+Assigned To: dmitry
  [2012-11-20 09:17 UTC] dmitry@php.net
  [2012-11-20 09:17 UTC] dmitry@php.net
 
-Status: Assigned
+Status: Closed
  [2014-10-07 23:21 UTC] stas@php.net
  [2014-10-07 23:32 UTC] stas@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ callback call private method (in parent class) instead of public method in current class Test script: --------------- <?php class Foo { public function run() { return call_user_func(array('Bar', 'getValue')); } private static function getValue() { return 'Foo'; } } class Bar extends Foo { public static function getValue() { return 'Bar'; } } $x = new Bar; $x->run(); Expected result: ---------------- 'Bar' Actual result: -------------- 'Foo'