At 12:55 AM 4/7/2003 +0200, Marcus Börger wrote:
Hello Andi,

Friday, July 4, 2003, 1:35:58 AM, you wrote:

AG> Maybe we should just not allow access modifiers for the destructor. It
AG> doesn't make very much sense and we don't "promise" destruction at a
AG> specific point in time.

On one hand it would of course be an option which simplifies our source (a few
lines less code). But on the other hand it would disallow some nice oo tricks.
And as the solution shows we could have at least one good working solution.

I don't like these OO tricks. It makes sense in my opinion not to have access modifiers for destructors. The destructor should be called on object destruction no matter what.


Andi


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



Reply via email to