Re: Extend bundled exceptions
| From: | Larry Garfield | Date: | Sat, 15 Nov 2014 17:53:18 +0000 |
| Subject: | Re: Extend bundled exceptions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78917@lists.php.net to get a copy of this message | ||
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