Re: Re: Syntax in PHP 6
| From: | Antony Dovgal | Date: | Sat, 26 Nov 2005 15:57:36 +0000 |
| Subject: | Re: Re: Syntax in PHP 6 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20562@lists.php.net to get a copy of this message | ||
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:-- Wbr, Antony DovgalWill 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. ]