Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16184 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23582 invoked by uid 1010); 9 May 2005 19:32:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9955 invoked from network); 9 May 2005 19:13:37 -0000 Received: from unknown (HELO msn.com) (127.0.0.1) by localhost with SMTP; 9 May 2005 19:13:37 -0000 X-Host-Fingerprint: 64.233.162.204 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.204:59179] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id C1/48-35155-066BF724 for ; Mon, 09 May 2005 15:13:36 -0400 Received: by zproxy.gmail.com with SMTP id 34so2032675nzf for ; Mon, 09 May 2005 12:13:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RsAkejrlGjhKHfdAoFKUKeNiuxlRmy8rdKnBWdD2TS/4D0MDxw2Z0+FDRd3gIP8+5cKdKbTV0uK1oZ7ENVp1TJ1U/bAsfMttamETmpUiWrc3AZZ1jc97562/kTli918UNVreCNtFvSQtlabzkujKfD6J8j7bv53syTcV0lgwCDM= Received: by 10.36.19.17 with SMTP id 17mr1264216nzs; Mon, 09 May 2005 12:13:32 -0700 (PDT) Received: by 10.36.22.2 with HTTP; Mon, 9 May 2005 12:13:32 -0700 (PDT) Message-ID: <5c28747205050912134b6b3f61@mail.gmail.com> Date: Mon, 9 May 2005 14:13:32 -0500 Reply-To: Jason Sweat To: Sara Golemon Cc: internals@lists.php.net In-Reply-To: <20050509181213.48621.qmail@lists.php.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200505091130.56300.lpedretti@suserver.com> <20050509181213.48621.qmail@lists.php.net> Subject: Re: [PHP-DEV] Re: make new return a reference to existent object From: jason.sweat@gmail.com (Jason Sweat) On 5/9/05, Sara Golemon wrote: > > I would like (for code cleanliness purposes) to make 'new' > > return a reference to an already created object under certain > > circumstances without using a factory, is it possible? > > > * Sara whispers "old" into the conversation and runs away It's not "old", it is an experienced object ;) Regards, Jason http://blog.casey-sweat.us/