You'll be a star in a circus.
But internals is certainly not a circus, so please keep your jokes about
yourself.
On 26.11.2005 18:44, Roman Ivanov wrote:
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. ]
--
Wbr,
Antony Dovgal
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php