Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6226 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14370 invoked by uid 1010); 5 Dec 2003 10:45:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14309 invoked by uid 1007); 5 Dec 2003 10:45:11 -0000 Message-ID: <20031205104511.14283.qmail@pb1.pair.com> To: internals@lists.php.net Date: Fri, 5 Dec 2003 11:45:11 +0100 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Posted-By: 80.126.85.128 Subject: status of __destruct From: john@ceressoft.nl ("John Huntjens") What the status of destruct, should it work? I am asking because all the simple provided examples work, but in a more complex situation __destruct is never called. Is destruct called on a object when a exit is issued? for debugging I use this destruct: function __destruct() { touch("/tmp/destruct_app.txt"); } I am using todays snap (06.30) Gr, JOhn