Re: Re: Singleton Pattern?

From: Date: Thu, 18 Mar 2004 23:14:07 +0000
Subject: Re: Re: Singleton Pattern?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26572@lists.php.net to get a copy of this message
On 18 Mar 2004 at 23:54, Michael Wallner wrote: > that's simple because of an PHP4 bug. Either assign > the object to $obj by value, or don't use a static > method variable for implementing the singleton > pattern in your package. Really a bug? Could somebody please test with latest php5.0.0 or 4.3.5? If the problem persists it should definitively be reported. But maybe it's fixed in 4.3.5 already? Somebody please try and post results. If problem persists please file a bug. Thank you Stefan

« previous php.pear.dev (#26572) next »