Re: PEAR_Autoloader
| From: | LingWitt at insightbb dot com | Date: | Thu, 30 Oct 2003 03:18:34 +0000 |
| Subject: | Re: PEAR_Autoloader | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23131@lists.php.net to get a copy of this message | ||
I recently submitted this bug report:
The Autloader class gets the object to use with a method name like
this:
$this->_method_map[$method]
The problem is that $method is a case sensitive version of the
method name, which is not what is stored as a key. Therefore, the
necessary fix is:
$method = strtolower($method);
...
$this->_method_map[$method]