|  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
 [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-2023 The PHP Group
All rights reserved.
Last updated: Wed Dec 06 17:01:27 2023 UTC