There is still a problem because if you had an exception handler you'd have the same problem. if the constructor fails it should destroy the created object.

On 23-Nov-07, at 5:01 AM, Hannes Magnusson wrote:

On Nov 23, 2007 1:15 AM, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote:
iliaa           Fri Nov 23 00:15:37 2007 UTC

 Modified files:
   /php-src/ext/date   php_date.c
 Log:
MFB: Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone)

You are misreading the bug report.
It doesn't really have anything to do with the date extension.

The problem is that exceptions thrown via zend_parse_parameters() are
caught by a user defined error handler (which should obviously not
catch exceptions).

-Hannes

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Ilia Alshanetsky

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to