Re[2]: [PHP-DEV] php5 beta
| From: | (Marcus B�rger) | Date: | Fri, 20 Jun 2003 16:47:26 +0000 |
| Subject: | Re[2]: [PHP-DEV] php5 beta | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2466@lists.php.net to get a copy of this message | ||
Hello Zeev,
Friday, June 20, 2003, 5:09:19 PM, you wrote:
ZS> At 03:21 20/06/2003, Marcus Börger wrote:
>>In other words i'd like E_WARNINGS to be converted, because that is the normal
>>message generated from functions like database errors ...
ZS> In other words, different people have very different views about what this
ZS> should look like, very contradictory ideas. Your idea of 'do it right'
ZS> vision involves forcing people to use exceptions (otherwise, their code
ZS> will not cooperate nicely with other people's code or in certain
ZS> setups). That's a clear 'do it wrong' vision in my book, which brings us
ZS> the tremendous amounts of fun on these mailing lists :)
Erm, not really. Only i see at least the problem with constructors. If you can
present another working solution i'll be fine. Very fine because then there is
no longer a real need for exceptions.
And once again there is only a problem when mixing old and new code. And the
idea of a) an ini setting and b) activating auto-exceptions only inside
try-catch blocks would be very easy to understand and handle. And allows the
user to decide whether he thinks he understands exceptions and want to deal
with them where no BC complaints prevent that.
regards
marcus
--
Best regards,
Marcus mailto:helly@php.net