Re: Re: domxml patch from 31 May breaks BC

From: Date: Wed, 19 Jun 2002 15:00:50 +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-85367@lists.php.net to get a copy of this message
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. chregu

« previous php.dev (#85367) next »