Re: Comments on bugs marked bogus
| From: | Pierre-Alain Joye | Date: | Wed, 27 Jul 2005 12:48:37 +0000 |
| Subject: | Re: Comments on bugs marked bogus | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38968@lists.php.net to get a copy of this message | ||
On Wed, 27 Jul 2005 09:13:09 +0200
bmansion@mamasam.com (Bertrand Mansion) wrote:
> Alan Knowles wrote:
>
> >I think autoload will be fixed to allow failure - It's a known
> >bug of the autoload implementation ....
>
> The bug is not that it should allow failure. The bug is more that
> is_a() shouldn't IMO call __autoload().
>
> >Saying that though, using Case sensitive names in is_a(), is a
> >rather trivial change..
>
> It's not as trivial as just changing one character in
> HTML_QuickForm. is_a() is used all over the place in other
> packages too.
>
> Before going any further, I think we need a small RFC about using
> __autoload(), is_a(), get_class() and all these functions that
> are related, in PEAR with PHP5.
Well, I do not like autoload (too magic for me, and has never
worked well). But besides this problem and only about this one line
fix, we already discussed the needs to write class names, that
means case sensitive.
The discussions about autoload can be good (will not change my mind
about it though) but this fix is easy and can be done now.
Regards,
--Pierre