2012/9/4 Gustavo Lopes <glo...@nebm.ist.utl.pt>: >> Following this logic, we'd have to convert all E_NOTICE and E_STRICT to >> fatal errors or exceptions - they are usually produced by programming >> errors and aren't meant to be caught by surrounding code (actually, >> can't). But I don't see anybody benefiting from this - as I don't see >> anybody benefiting from generator that will explode your application if >> you touch it twice.
Nobody is forced to handle an notice-exception like a fatal exception. A notice-exception can be created write something into an error-log and tells PHP not to handle it any more (destroys itself). Could be all done in the construction of the exception. -- Alex Aulbach -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php