[PHP-DEV] Exception throwed if parent::__construct() not called in \DirectoryIterator subclass

2011-07-28 Thread Frédéric Hardy
Hello ! In PHP 5.4 alpha, an exception is throwing if a subclass of \DirectoryIterator not called the parent constructor. Moreover, this exception can not be catched in the constructor of the subclass. This behavious seems to be a good idea, because \DirectoryIterator may be in an

Re: [PHP-DEV] Exception throwed if parent::__construct() not called in \DirectoryIterator subclass

2011-07-28 Thread Etienne Kneuss
Hello, 2011/7/28 Frédéric Hardy frederic.ha...@mageekbox.net: Hello ! In PHP 5.4 alpha, an exception is throwing if a subclass of \DirectoryIterator not called the parent constructor. Moreover, this exception can not be catched in the constructor of the subclass. This behavious seems to be

RE: [PHP-DEV] Exception throwed if parent::__construct() not called in \DirectoryIterator subclass

2011-07-28 Thread John Crenshaw
2011/7/28 Frédéric Hardy frederic.ha...@mageekbox.net: Hello ! In PHP 5.4 alpha, an exception is throwing if a subclass of \DirectoryIterator not called the parent constructor. Moreover, this exception can not be catched in the constructor of the subclass. This behavious seems to be a

Re: [PHP-DEV] Exception throwed if parent::__construct() not called in \DirectoryIterator subclass

2011-07-28 Thread Richard Quadling
On 28 July 2011 20:36, John Crenshaw johncrens...@priacta.com wrote: 2011/7/28 Frédéric Hardy frederic.ha...@mageekbox.net: Hello ! In PHP 5.4 alpha, an exception is throwing if a subclass of \DirectoryIterator not called the parent constructor. Moreover, this exception can not be catched