Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72909 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13486 invoked from network); 3 Mar 2014 17:57:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2014 17:57:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@rouvenwessling.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=me@rouvenwessling.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain rouvenwessling.de designates 5.35.242.46 as permitted sender) X-PHP-List-Original-Sender: me@rouvenwessling.de X-Host-Fingerprint: 5.35.242.46 rouvenwessling.de Linux 2.6 Received: from [5.35.242.46] ([5.35.242.46:37761] helo=lvps5-35-242-46.dedicated.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/00-13181-392C4135 for ; Mon, 03 Mar 2014 12:57:40 -0500 Received: by lvps5-35-242-46.dedicated.hosteurope.de (Postfix, from userid 5001) id AC60869F14D6; Mon, 3 Mar 2014 18:57:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lvps5-35-242-46.dedicated.hosteurope.de X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.1 Received: from [192.168.0.124] (ip-88-152-75-113.unitymediagroup.de [88.152.75.113]) by lvps5-35-242-46.dedicated.hosteurope.de (Postfix) with ESMTPA id 1184069F04D9; Mon, 3 Mar 2014 18:57:36 +0100 (CET) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) In-Reply-To: <5307B1FE.1020604@marc-bennewitz.de> Date: Mon, 3 Mar 2014 18:57:35 +0100 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <0AF8EA81-D92B-4427-8FBE-C7399CCC2335@rouvenwessling.de> References: <5307B1FE.1020604@marc-bennewitz.de> To: Marc Bennewitz X-Mailer: Apple Mail (2.1874) Subject: Re: [PHP-DEV] [php6] OOP resources From: me@rouvenwessling.de (=?iso-8859-1?Q?Rouven_We=DFling?=) On 21.02.2014, at 21:07, Marc Bennewitz wrote: > here another idea for PHP 6 the simply means removing the datatype > "resource" because and convert current resources into classes/objects > as it's already done with GMP. >=20 > Because resources are simply a pointer to a somewhere described data > structure - resources are the exactly the use case for objects. Inspired by this topic, I took a stab at refactoring the hash context = resource into an object: https://github.com/php/php-src/pull/611 The most interesting thing to discuss, is probably how to describe = closing a resource with objects. Best regards Rouven=