|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2002-01-06 12:17 UTC] jan@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 21:00:02 2025 UTC | 
Hiya I'd like to see a destructor for classes from within the class example: $file = new file("somefile.ext); // instert some long script here $file->del_file(); at this point $file should be FALSE of NULL (set from within the class) some ideas: unset($this); or $this->Destruct(); Greetz, Wico