Sara Golemon wrote:
Will your proposal be met with resistence? Certainly. Such an undertaking represents no small amount of effort and a no less pain when the final BC break occurs.
No need to break BC! I have a solution. All we need is to introduce $THAT superglobal object, plus couple of new functions.
define_usual_php_variable($var, 1); $THAT->va2 = 1; //not recommendedm, gives E_NOTICE class Bla{ function doSomething(){ $THAT->print($THAT->var); $THAT->str_sub($THAT->var2); } } [ This message is a joke. A bitter one. ] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php