Hello Brad,

Wednesday, August 13, 2003, 9:51:23 AM, you wrote:

BB> i can't say. you want to be able to call parent::method() and have $this
BB> available there, for sure. it is not truly a static call, it is just syntax
BB> that looks like static, i think. (but for sure i don't know!) 'static'
BB> modifier to function def was added, if i read archive right, for the reason
BB> you say. (though 'static function bar()' has no $this whether called as
class::bar(), $x->>bar(), or $this->bar() - so not really about how it is
BB> called, more about what it is.)

parent::method() is static / dynamic if parent::method() is defined as static
/ dynamic. We do not distinguish by call but instead by method definition.

marcus


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

Reply via email to