Re: Re: Exceptions instead of Fatal Error when calling non existent method?
| From: | Stefan Walk | Date: | Mon, 31 Dec 2007 13:27:41 +0000 |
| Subject: | Re: Re: Exceptions instead of Fatal Error when calling non existent method? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34299@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 31 December 2007 13:48:52 Antony Dovgal wrote:
> Changing PHP's behavior in a backward-incompatible way that would affect
> everyone and *forcing everyone* to use exceptions seems to be really bad
> idea, especially taking into account that your problem can be easily solved
> without it.
What exactly is the backwards compatibility break here? Without the change,
the code simply dies ... if you don't catch the exception, the code simply
dies ... except you get a backtrace now and can handle the exception if you
want to.
Regards,
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHeO5UpPjfcppEficRAng4AJ4v4G+PyT07cQTYupTgKFnOA130yQCeKWYy
E2tzkWAHOmIKDc/CZw7Dtjw=
=ArZH
-----END PGP SIGNATURE-----