|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-11-17 09:42 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 01:00:01 2025 UTC |
Description: ------------ I think the method name shouldn't cast to lower case if static calling used. Reproduce code: --------------- class a { function __call($name, $p) { echo $name . ' '; } function foo() { $this->BaR(); self::BaR(); } } $a = new a(); $a->BaZ(); $a->foo(); Expected result: ---------------- BaZ BaR BaR Actual result: -------------- BaZ BaR bar