|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30309 The destructor is called when an exception is thrown from the constructor
Submitted: 2004-10-02 13:44 UTC Modified: 2004-10-03 14:53 UTC
From: ernest at vogelsinger dot at Assigned:
Status: Not a bug Package: Class/Object related
PHP Version: 5.0.2 OS: Win32
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ernest at vogelsinger dot at
New email:
PHP Version: OS:


 [2004-10-02 13:44 UTC] ernest at vogelsinger dot at
Bug #29368 "The destructor is called when an exception is thrown from the constructor" is reported being fixed in 5.0.1 but is quite alive in 5.0.2, at least in the Windows binaries.
Please reopen, than you.

Reproduce code:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-03 14:53 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 29 12:01:27 2024 UTC