Re: Final solution to destructor visibility?
| From: | Andi Gutmans | Date: | Thu, 03 Jul 2003 23:35:58 +0000 |
| Subject: | Re: Final solution to destructor visibility? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3228@lists.php.net to get a copy of this message | ||
Maybe we should just not allow access modifiers for the destructor. It doesn't make very much sense and we don't "promise" destruction at a specific point in time.
Andi
At 03:07 PM 3/7/2003 +0200, Marcus Börger wrote:
Hello Zeev, hi Andi, attached is my idea of finally fixing the destructor visibility. It simply emits an E_ERROR on an illegal attempt to destruct an object during execution and emits an E_WARNING with a slighlty longer message in shutdown (outside execution). Patch attached. -- Best regards,Marcus mailto:helly@php.net