Re: [PHP-DEV] Conversion of SplFileInfo instances to boolean

2014-12-03 Thread Christoph Becker
Peter Cowburn wrote: > On 3 December 2014 at 20:35, Christoph Becker wrote: > >> Hello internals, >> >> today I stumbled over issue #65213[1] which has been reported as a bug, >> but was changed to a feature request without any hint why the conversion >> of SplFileInfo instances to boolean throw

Re: [PHP-DEV] Conversion of SplFileInfo instances to boolean

2014-12-03 Thread Peter Cowburn
On 3 December 2014 at 20:35, Christoph Becker wrote: > Hello internals, > > today I stumbled over issue #65213[1] which has been reported as a bug, > but was changed to a feature request without any hint why the conversion > of SplFileInfo instances to boolean throws a catchable fatal error. > >

[PHP-DEV] Conversion of SplFileInfo instances to boolean

2014-12-03 Thread Christoph Becker
Hello internals, today I stumbled over issue #65213[1] which has been reported as a bug, but was changed to a feature request without any hint why the conversion of SplFileInfo instances to boolean throws a catchable fatal error. Even worse, due to optimizations in OPcache (and maybe other optimi