parent::test();
What do you want parent::test() to mean?
This will echo 'A'. So like I said you have no way here of telling that B:: was used.
Because it wasn't. parent::test() means A::test(). 'parent::' means 'parent class of the class where this statement is' in PHP. For B, it's A.
Then there are two problems (sort of). First problem being, then why bother with lsb, you can do this already (which more so a 'wth' as
If you can do it - do it.
opposed to a problem.) The second and much more prevelent problem is that iirc you cannot do this kind of loose inheritance with statics in
What is 'loose inheritance'? -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php