Hello Terje,

Thursday, September 14, 2006, 9:47:20 PM, you wrote:

> (This went to me privately, but in order for this to benefit the discussion,
> I reply to the list, as well. Besides, there's now another thread for this,
> too)

> Hi Richard.

>> When would the constructor be called automatically? I've used Delphi
>> and you use the inherit verb (or inherited - long time ago - can't
>> remember exactly). In PHP parent::__construct (though I think
>> parent::__METHOD__ would be cleaner as this removes ambiguity on the
>> actual name for all inherited methods).

> Well, let's look at C++, which I'm most familiar with.

PHP is not C++ and speaking of constructors and destrcutors PHP goes morethe
Delphi way. We do not claim to follow any other language precisely, PHP is
it's own language with its own feature set.

It seems to me that you are using the wrong language. I guess you should
have a look at Phyton.

best regards
marcus

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

Reply via email to