php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45110 Object destruction after the end off the script
Submitted: 2008-05-27 19:15 UTC Modified: 2008-05-30 09:20 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: php-bug at undoso dot info Assigned:
Status: Not a bug Package: Class/Object related
PHP Version: 5.2.6 OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php-bug at undoso dot info
New email:
PHP Version: OS:

 

 [2008-05-27 19:15 UTC] php-bug at undoso dot info
Description:
------------
I'm opening a bug about old bug 36831. In fact I think that this bug has been closed a bit quickly. I really think that destructors should be called before any parts of the execution context is destroyed.

Moreover, it is a pain to understand why PHP is saying that an exception has not been catched in unkown at line 0. It would be a lot more consistent to have destructors executed in a correct context since they are part of the script and may not be something like an extra.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-29 23:01 UTC] jani@php.net
Just add your comments in that bug. No need to pollute the bug database with this kind of useless reports..
 [2008-05-30 09:20 UTC] php-bug at undoso dot info
I would like to have done it but I couldn't. It said me that I could not post a comment in a bogus bug !
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 16:01:33 2025 UTC