Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20562 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78919 invoked by uid 1010); 26 Nov 2005 15:57:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78903 invoked from network); 26 Nov 2005 15:57:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 15:57:43 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:5065] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C4/B6-56276-5F588834 for ; Sat, 26 Nov 2005 10:57:42 -0500 Received: (qmail 2504 invoked from network); 26 Nov 2005 15:57:37 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 26 Nov 2005 15:57:37 -0000 Message-ID: <438885F0.8010506@zend.com> Date: Sat, 26 Nov 2005 18:57:36 +0300 User-Agent: Thunderbird 1.5 (X11/20051025) MIME-Version: 1.0 To: Roman Ivanov CC: internals@lists.php.net References: <3F.25.11378.CEA42834@pb1.pair.com> <018d01c5eeec$23949600$5c8be5a9@ohr.berkeley.edu> <497935ba0511211511l5867410dk577deb60b998a069@mail.gmail.com> <497935ba0511211512k4c8e1cb4r89cf1ffcd4ab7829@mail.gmail.com> <438254E6.2050903@prohost.org> <497935ba0511211609n675a3c3yf03cb5e5e97bb5bf@mail.gmail.com> <4382BDA2.4050806@php.net> <497935ba0511220024l492112f7nfe2c05d27d65e1a5@mail.gmail.com> <497935ba0511220024j4a189b94r667945241f1811f8@mail.gmail.com> <497935ba0511220159y14dc36cra39e28d7d617a03b@mail.gmail.com> <13067.64.241.37.140.1132675931.squirrel@www.quo.org> <21.D1.11378.F1096834@pb1.pair.com> <00b501c5f17d$c1259980$7d051fac@stumpy> <95.B4.56276.2A188834@pb1.pair.com> In-Reply-To: <95.B4.56276.2A188834@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Syntax in PHP 6 From: antony@zend.com (Antony Dovgal) 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