Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54286 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56212 invoked from network); 2 Aug 2011 05:12:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Aug 2011 05:12:04 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:46846] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/30-53995-327873E4 for ; Tue, 02 Aug 2011 01:12:04 -0400 Received: by iym1 with SMTP id 1so8547545iym.29 for ; Mon, 01 Aug 2011 22:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=llWOO7wsQmsy1T6nXWQzVr0uw7EdNfxW6ghjbAjDDqc=; b=BYfJ5BY4VwNXV9KG3pqcrW3d3kqqzO8/gaEGBf+Po76ZWoLvUjfUmm/+HT9rZnMeMf uUT2utponwCUK4oPV6VLD+qGrl2YoDnVShRuFAHZa8alS+fFPYyuvoDU+eyJghhpP1Ze 2Qlvn9X8J8hdB44VLfxAlkliA6M6x7qOthcMU= Received: by 10.43.49.133 with SMTP id va5mr3394441icb.306.1312261921111; Mon, 01 Aug 2011 22:12:01 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.231.168.71 with HTTP; Mon, 1 Aug 2011 22:11:41 -0700 (PDT) In-Reply-To: References: Date: Tue, 2 Aug 2011 13:11:41 +0800 X-Google-Sender-Auth: yOwlsVFtj8dcKSpRt2Rfw8sFgZ8 Message-ID: To: Hannes Landeholm Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE] Weak References From: aharvey@php.net (Adam Harvey) On Aug 2, 2011 2:50 AM, "Hannes Landeholm" wrote: > aharvey: I'm surprised you voted no since you seemed content with the > answers you got earlier. Do you have some special objection in mind? Sorry, I meant to send an e-mail last night explaining the -1 and completely forgot before I went to bed. I guess it may be moot now, but for the record... I've no issue with the answer that you gave to my earlier question, but I agree with Stas (and apparently Etienne): I'm not really convinced this needs to be in mainline at the moment. I don't doubt that weak references have the potential to be useful, but given this can be implemented in PECL, I'd rather revisit this once there's more data on how useful this is this the community as a whole =E2=80=94 it's not something I've personally ever needed in PHP or even really heard anyone ask for, outside of the feature request linked in the RFC (which is about 115th on the overall list of feature requests sorted by vote, although I don't think the voting system is remotely representative anyway). If the implementation works out well there, there's no reason we can't revisit the bundling decision for 5.5 next year, but it's a lot easier to get something in than remove something later. There are a number of packages that have been promoted after getting use in PECL (json, zip and PDO spring to mind immediately), so it's a well-worn path. Adam