Re: [RFC] Exceptions in the engine

From: Date: Fri, 25 Oct 2013 19:20:18 +0000
Subject: Re: [RFC] Exceptions in the engine
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-69870@lists.php.net to get a copy of this message
Hi! > How could anything be reliant on the behaviour of a fatal error in any > meaningful way ?? If condition X did not occur, fatal error would happen, so in the following code I can safely assume condition X is true without checking it. That logic of course would completely break with non-fatal fatal errors, both in C and in PHP. Oh yes, and people do try {...} catch(Exception e) { /* ignore exceptions */} all the time (without, of course, counting fatal errors as being ignored). -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#69870) next »