Mantis - Quercus
Viewing Issue Advanced Details
2417 minor always 02-08-08 02:10 09-11-08 10:24
Carl Lobo  
ferg  
normal  
closed 3.1.5  
fixed  
none    
none 3.2.1  
0002417: Destructors not run on PHP classes
Destructors (__destruct) methods aren't run when the page is destroyed.
Attached patch works for me - it runs the destructors when a top level page has completed execution, this should be close enough to the mainstream php interpreter.
 destructors.diff [^] (10,159 bytes) 02-08-08 02:10

Notes
(0003419)
ferg   
09-11-08 10:24   
php/093k, php/393k