|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-08-07 01:59 UTC] johannes@php.net
-Status: Open
+Status: Bogus
[2010-08-07 01:59 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 21:00:02 2025 UTC |
Description: ------------ Class destructor does not get called when the script end with fatal error (eg. unknown function, uncaught exception etc.). Test script: --------------- class Foo { function __destruct() { touch('/tmp/foo'); } } $x = new Foo; throw new Exception; Expected result: ---------------- New file /tmp/foo Actual result: -------------- Nothing