Re: Re: domxml patch from 31 May breaks BC
| From: | Brad LaFountain | Date: | Wed, 19 Jun 2002 18:55:29 +0000 |
| Subject: | Re: Re: domxml patch from 31 May breaks BC | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85381@lists.php.net to get a copy of this message | ||
--- Christian Stocker <chregu@bitflux.ch> wrote:
> On Wed, 19 Jun 2002, Brad LaFountain wrote:
>
> > Welp.... It needs to be lowercase so that constructors get called.. The
> engine
> > currently looks for a function with the lowercase class name if its there
> then
> > it will call the constructor.
> >
> > As far as i see it is the class SHOULDN'T have been mixed case because all
> of
> > php classnames are stored as lowercase.
> >
> > <?
> > $c = new FooBar();
> > echo get_class($c);
> >
> > class FooBar { }
> > ?>
> >
> > Now as far as BC... I don't know what to say here... ither it breaks it or
> we
> > can't have the functionality. I think that it was wrong to begin with so it
> > isn't breaking BC but fixing a bug that people have relied on.
> >
> >
> > What do others think?
>
>
> if we can't have the functionality without breaking BC, then let's break
> BC again :) (but if someone knows a solution, even better :) )
> The fix is quickly done in the php-script, so it's not a real problem. But
> I think, it should be at least mentioned in the NEWS-File.
Ok... I think it should be in the news file as well.
- brad
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com