Any chance of sneeking this one in :) - patch attached
usage:
?
class testclass2 extends testclass { }
class testclass {
function test() {
echo __CLASS__;
}
}
testclass2::test();
$t = new testclass2();
$t-test();
?
prints
testclass2
testclass2
extremely usefull for building
This should really be implemented 100% in compile time, if you touch
zend_execute.c, BUZZ :)
Anyway, incidentally, Jani implemented this very patch a few days
ago. We'll probably import it within a couple of days after we verify that
it doesn't cause any gotcha's...
Zeev
At 12:34 PM