Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95025 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56578 invoked from network); 10 Aug 2016 19:45:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Aug 2016 19:45:58 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.22 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.22 mout.gmx.net Received: from [212.227.17.22] ([212.227.17.22:60360] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/54-32735-6748BA75 for ; Wed, 10 Aug 2016 15:45:58 -0400 Received: from [192.168.2.103] ([217.82.227.154]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LbdiB-1amSS23pzn-00lBia; Wed, 10 Aug 2016 21:45:54 +0200 To: Kalle Sommer Nielsen , Nikita Popov References: Cc: PHP Internals List Message-ID: Date: Wed, 10 Aug 2016 21:45:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:b3Pbx2ML07P4UtQEeJmI4U0/+nnEjog9ywXyIQpVYpHlSuWVRS9 CQmujF6HPr/mjWKNK4kytMr5stQ56Eiik8U8pPP/s/2tWJrd7DD07Zj+rWvGnRh/aerbXQg 1hEcgqIrVvmG44FmKsnwmzgRivMTcES1tQa66oBpW5HKzZUPlDAkmeRnYnQMu4VLitCuxBV 2TAgkhCUJBHHAA5KWF10g== X-UI-Out-Filterresults: notjunk:1;V01:K0:hfP0epFA/UM=:EgA70dRRhw1ajLoFC6y/TK WI8EUIEfbccgeAEtLqQlaeG0iW2mPfdLVpVeQzoypxmaKA7WiMqTSgrgTsofFfIpKQ61aFPHq r2QlyoWaYmfy2AIc7JbS90kRS7e9gg3jfA2PWFwqwlukT1wFBflzkB6sAIClOqetFjlMva0R/ TYeZIKt+63A8JHWnloafrOsyfS5cxPQUN3DzNFHcHq1FsR58eUbwIrwJl9ngJA68jL5f+8h68 2oO2XlfytTrvu7H7v6UWz70Hw+SFhF/0eVPobn2d/hypnE/D+61dklDL1yxF2cgjhXyXQF3ir Y8w1B0jYYcPJo5hOjA/9/vX4un6iedEHzToFvytIPlayoByPuxKpQghehnI+5GUtdb6HnCdjt xTHHpubTe9LKnPMdMJqAYs0KhL6eZjGd18Z9MeHNOs1QFc+UDq9AwVaStpI3stXHo3yJFBKAZ hxCoxaBZVR8P1jzKv34WpfcTZOASldDR8OaCW7ZkoyObObNZAOeqKZbPwGTXG3L2jIEdog9Gj onf0P4vbGJfgBlSBGz6csBJtPJXjAb+8WVuZCWCU0GlENXgQutCE/UWeyOhTxM9ko5dBDUOof Enbqz+EBYfTLBtmVx/8a0GfThTz1Bp62ys7U/CnQnZr98s1nn1I3FUp5zicfZH6pDv6iubAbK Yb5y7IlXeuZ/wgOjj247zufUrwyFABhZaAiXuPwsCm4w7VWbqx+jrjmTaT0kodWC/fXwg2Wi1 fwvZreD/1xFFv+PS+Wx1j+hADb6UzuDli4wPOLxaM3mLgnShmhlWWw0TadQzlQGLdsEJ5yT2+ 47qc5Fh Subject: Re: [PHP-DEV] GC issue wrt. to resource <-> object cycles? From: cmbecker69@gmx.de ("Christoph M. Becker") On 10.08.2016 at 13:38, Kalle Sommer Nielsen wrote: > 2016-08-10 12:59 GMT+02:00 Nikita Popov : >> On Wed, Aug 10, 2016 at 12:52 PM, Christoph M. Becker >> wrote: >> The simplest way to fix ext/xml in particular is probably to migrate it to >> use an object instead of a resource. > > If my memory strikes me right, then we did do this for ext/gmp too a > while back for the operator overloading (I even think it was you that > did that?). Maybe it would be time to evaluate the situation in 7.2, > for extensions that still use resources[1] that could be affected by > similar issues and adapt them hereafter. I would welcome that, but it appears to be a lot of work. BTW: ext/mcrypt is deprecated as of PHP 7.1 so I don't think a rework is apt. Furthermore, we may consider to deprecate some other extensions (stas has a draft RFC for that). IIRC, ext/odbc/birdstep doesn't even work/is not used. -- Christoph M. Becker