Ferdinand Beyer wrote:

On 1 Jun 2004 at 15:21, Stephan Schmidt wrote:


Furthermore this renders the template-method pattern quite

useless, so

IMHO it should be changed.


He should define an abstract method Foo::Baz() here.


Yes, I agree that design-wise that would be better -- but it will still fail w/ E_FATAL in PHP if the method is abstract ("cannot call abstract method Foo::Baz() in ....").


Hans

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



Reply via email to