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:[EMAIL PROTECTED]


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to