Hello,
-1
New implies "new". Use a factory.
Maybe we should add an old construct:
$object = old MyClass();
Just kidding :)
--
Best regards,
Jason mailto:jason@ionzoft.com
Monday, May 9, 2005, 10:30:56 AM, you wrote:
LP> I would like (for code cleanliness purposes) to make 'new' return a reference
LP> to an already created object under certain circumstances without using a
LP> factory, is it possible?
LP> Thanx