Re: type hinting throwing a fatal error

From: Date: Thu, 11 Aug 2005 08:40:44 +0000
Subject: Re: type hinting throwing a fatal error
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-17825@lists.php.net to get a copy of this message
On Thu, 11 Aug 2005, Lukas Smith wrote: > Derick Rethans wrote: > > On Thu, 11 Aug 2005, Derick Rethans wrote: > > > > > >I believe we mentioned once the possibility of adding another > > > >error level, which is fatal - but still catchable by > > > >set_error_handler(). That is a good idea (which we should be > > > >doing either way). > > > > > >That would work well. I just want the type hints to be catchable. > > > > Except that it shouldn't be able to stop the application. The reason for > > this is that Unit Testing on this stuff should still work, and you can't > > Well UnitTests should always be run in a separate process, so that you can > infact to proper edge (or even over the edge) testing. I agree, but none of the Unit Test frameworks (except php-tests) do this. I don't think I should be rewriting yet another one. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

« previous php.internals (#17825) next »