Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72912 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64458 invoked from network); 4 Mar 2014 08:35:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Mar 2014 08:35:13 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.44 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.44 mail-qa0-f44.google.com Received: from [209.85.216.44] ([209.85.216.44:42591] helo=mail-qa0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/16-13181-04095135 for ; Tue, 04 Mar 2014 03:35:12 -0500 Received: by mail-qa0-f44.google.com with SMTP id f11so4529631qae.17 for ; Tue, 04 Mar 2014 00:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vLy3zPZa2V6ep1brhB8cfcZMu9MuXVxHmEgAPo11qEQ=; b=G21p9X8tSS7eFiKDSYcl99ONMOWKk3ibhGA9IQzXwtM60QsIoojUZ9llYfpc07hQdr QryHlR8ywWsc5n6gIBS/XT+hjx5HJVdk+ak0kBuO/ZCKDhWEYtevhpF6NdbQUjHSXS4/ uCGELIsTSFEjPQttQ3h4oM8FCqemb4VmKagPMFoNtrVpBIQpo0liOA0wCLkqLb1DlvR+ 1nt15QIed8B53ZpAPSCBgCAMkKpJdubVWeRAA/qKz6GZdLNAlGNFRR/2YAYsQW1q/fYW LY+frzDFKWCtvVytJejdxl2LydZa3mldUAS1/o6R0RUaWZJqIhrhPperjslQswwVtnEs jmyA== MIME-Version: 1.0 X-Received: by 10.224.11.196 with SMTP id u4mr29434046qau.4.1393922109466; Tue, 04 Mar 2014 00:35:09 -0800 (PST) Received: by 10.140.18.145 with HTTP; Tue, 4 Mar 2014 00:35:09 -0800 (PST) In-Reply-To: References: <5307B1FE.1020604@marc-bennewitz.de> Date: Tue, 4 Mar 2014 09:35:09 +0100 Message-ID: To: "Shuhei Tanuma (chobie)" Cc: Marc Bennewitz , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [php6] OOP resources From: pierre.php@gmail.com (Pierre Joye) On Tue, Mar 4, 2014 at 9:16 AM, Shuhei Tanuma (chobie) wrote: > To encapsulate resource data structure to object isn't bad idea. > but zend_list_insert is more convenient than > zend_object_store_get_object, isn't it? I am not saying that I am in favour of droping resources, but from an internal point of view, objects are actually easier. Cheers, -- Pierre @pierrejoye | http://www.libgd.org