|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-06-12 01:05 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 15:00:01 2025 UTC |
Description: ------------ __callStatic is not invoked when called method is defined as private or protected. Reproduce code: --------------- class Test { private static function foo() { } public static function __callStatic($name, $args) { var_dump($name); } } Test::foo(); Expected result: ---------------- string(3) "foo" Actual result: -------------- Fatal error: Call to private method Test::foo() from context '' in %s on line %i