|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
6 + 32 = ?
Subscribe to this entry?

 [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-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 10:03:35 2021 UTC