fw-svn is not a mailing list for discussion. I've changed the list to fw-general.

With Zend::exception() we avoid loading all those exception classes that are only needed if an error occurs, which should be an exception. So instead of loading these files or at least stat()ing it with an opcode cache we waste some lines in a file that's loaded anyway. That has nothing to do with bugs in any class.

nico

[18.12.2006 14:50] Aleksey V. Zapparov wrote:
Hello everybody.

Sorry, maybe I've missed something, but do we really need
Zend::exception()? IMHO it's very and very un-needable method.
Exceptions are thrown inside of Zend[_*] classes so it's a job of
developers and contributors to keep Zend Framework away from bugs.

And IMHO it's just a waste of time and resources to use this method()
and waste of size to keep it in Zend class.


--
Yours, me. Aleksey V. Zapparov.


Reply via email to