id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 10861,Clean up constructors and destructors,hakre,,"I assume this once was a try to have a descructor implementation for PHP 4 as well. But the way the destructor was registered in the constructor is broken. Even PHP 5 registeres a shutdown function (the destructor) while the ''real'' implementation is already in there. Therefore register shutdown function is only needed in PHP 4. The provided patch reflects that (partially). Then it is plain wrong to have a PHP 5 destructor return a value. It returns void by definition. This is properly reflected in the patch now. BTW, having a return value on a shutdown function is pretty useless.",defect (bug),closed,normal,,General,2.8.4,normal,wontfix,,,