Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78917 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30498 invoked from network); 15 Nov 2014 17:53:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2014 17:53:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 66.111.4.26 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 66.111.4.26 out2-smtp.messagingengine.com Received: from [66.111.4.26] ([66.111.4.26:44519] helo=out2-smtp.messagingengine.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/E0-18093-21397645 for ; Sat, 15 Nov 2014 12:53:23 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3D3C820859 for ; Sat, 15 Nov 2014 12:53:19 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 15 Nov 2014 12:53:19 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=S/iaGLN8Txldbws18X/GWQ CZiD0=; b=tGgBmnbES/t6YpbJU91mr9XVHixpbhTcH1TbKvnZ5yw3kf14qmPlp5 JRn0povqPARZ5d0ud3EJLTGhQQphPu+P0us5OXx5PsPpaI+NMkXJQJ3f3zof5Lal oe75BGj2/G7p59TOdLPeKqwRoDq2cogfG603Y5HaYAoVXmth9em5o= X-Sasl-enc: Pkwah7cRZzRSiwojAFpn/vgzVp0HxypgV6WS89u7Pf+w 1416073999 Received: from [192.168.42.111] (unknown [98.226.241.18]) by mail.messagingengine.com (Postfix) with ESMTPA id F12A4C00011 for ; Sat, 15 Nov 2014 12:53:18 -0500 (EST) Message-ID: <5467930E.80200@garfieldtech.com> Date: Sat, 15 Nov 2014 11:53:18 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: <2D612216-1942-47F3-A84D-7301BB1A4CB8@ajf.me> In-Reply-To: <2D612216-1942-47F3-A84D-7301BB1A4CB8@ajf.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Extend bundled exceptions From: larry@garfieldtech.com (Larry Garfield) On 11/14/2014 05:32 AM, Andrea Faulds wrote: > One of the things I’d like to see happen, but don’t have the time to do myself, is get rid of the IS_RESOURCE type from PHP for PHP 7, and replace all instances with objects. As part of this, we’d need to convert streams to using objects, which would give us an opportunity to create a new OOP stream API, learning from our past mistakes and which uses exceptions. As part of that, I’m sure we’d add some I/O exceptions. > > -- > Andrea Faulds > http://ajf.me/ Yes please!! (I'm not a C dev, but would be happy to help brainstorm/rubber duck with someone who is on this front if there is interest.) --Larry Garfield