Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81558 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75145 invoked from network); 2 Feb 2015 08:01:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2015 08:01:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.52 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.52 mail-pa0-f52.google.com Received: from [209.85.220.52] ([209.85.220.52:33574] helo=mail-pa0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/61-02376-ECE2FC45 for ; Mon, 02 Feb 2015 03:01:18 -0500 Received: by mail-pa0-f52.google.com with SMTP id kx10so79213076pab.11 for ; Mon, 02 Feb 2015 00:01:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=+cS/abNUmcQL2suwsrkbvAuNY4XmrkCdI++NebtCHLM=; b=FLoXwY+M9zad64XOxcGvDmP9mfBpo5uzi/+RNC8yVdhhJwEl1BMzuGOplQv/TPCFSG DpxGdCWJBQJ2UmaF4q9jip6yYT3J2B2+JsK5/8OWQ/zR1LH8QW3uFvMBR0FvzyhoqCRE U5fmykNZ1tIiPU5G948VeHJkuisPTB5reTT9vvSZ9YwToSKF5J+2PwQNp1Zj88lpoj+q 4Ke8qD8+TlXRmvg1DXkbQPSxZvg1r69MmM/vrcoEEFlzVIUE1q/B7yeL0xGVwNbWOBL2 78TWhHXKJ7H4VvaOELxPGOVx8/0hb2ylMHDnLO16hbNkTFN+5khdzcFVetTHmZ84AEGJ K4dA== X-Gm-Message-State: ALoCoQluMmXjAohQnPvk6JSwKES3m/eI6PmJXLogfHygam4ALC6ZxmWpuWBLJOPimkp6qq0mKWmR X-Received: by 10.68.134.164 with SMTP id pl4mr27022083pbb.128.1422864074860; Mon, 02 Feb 2015 00:01:14 -0800 (PST) Received: from [10.158.7.227] (mobile-166-171-250-017.mycingular.net. [166.171.250.17]) by mx.google.com with ESMTPSA id sl5sm17904449pbc.45.2015.02.02.00.01.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Feb 2015 00:01:13 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) X-Mailer: iPhone Mail (11D201) In-Reply-To: Date: Mon, 2 Feb 2015 09:01:08 +0100 Cc: PHP Internals , Dmitry Stogov Content-Transfer-Encoding: quoted-printable Message-ID: <438AA331-76E1-4986-847F-61587A8BD5FF@golemon.com> References: To: Xinchen Hui Subject: Re: [PHP-DEV] Re: [DICUSS]Cleanup resource handling APIs From: php@golemon.com (Sara Golemon) > On 2 Feb 2015, at 06:43, Xinchen Hui wrote: > furthermore, I'd like to discuss remove the handle in zend_resource struct= .. >=20 > it may breaks some usage (use resource as long/double/string I've seen uses in the wild where file handles are used as array keys (yes, I= know, ugly and wrong). If we were to remove rsrc handle, we should formally deprecate it for at lea= st one minor revision first. I'm all for killing it, and I fully support improving the internal API, but t= he gentler we are with BC breaks, the better. -Sara=