Re: [PHP-DEV] Extend bundled exceptions

2014-11-15 Thread 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 woul

Re: [PHP-DEV] Extend bundled exceptions

2014-11-14 Thread Andrea Faulds
> On 14 Nov 2014, at 07:39, Mathieu D. wrote: > > PHP is lacking of some elemental exceptions. One obvious example would be > FileNotFoundException. > > Java has a FileNotFoundException, > C# has a FileNotFoundException, > Python has a FileNotFoundError, ... > > Why doesn't PHP provide a bundl