Hi,

I remember that we discussed the question of exception throwing from core in the very early days of php 5, when the suggestion of turning all errors into exceptions first came up. I remember that we decided that exceptions should only be thrown from core on constructor errors by default. Along the lines of PDO, extensions could allow users to explicitly enable an exception mode.

This popped up again as I picked up on IRC that the imagick extension is quite exception throwing happy. I do realize that this is a pecl extension, so maybe core rules do not apply (core<->pecl relations should also be addressed ASAP if you ask me).

Anywas, am I remembering things correctly? Is this still our policy? If not do we have (want?) a policy?

Either way, could we get a decision (or the fact that we do not want a decision) added to the coding standards?

regards,
Lukas

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to