Any chance of sneeking this one in :) - patch attached
usage:
test();
?>
prints
testclass2
testclass2
extremely usefull for building mulitiple extendable constructors.
regards
alan
diff -b -B -r -u php-4.2.0RC2/Zend/zend_compile.h ALAN_Zend/zend_compile.h
--- php-4.2.0RC2/Zend/zend_compile
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 4/5/200