Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50812 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36794 invoked from network); 2 Dec 2010 13:52:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2010 13:52:01 -0000 Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.215.170 mail-ey0-f170.google.com Received: from [209.85.215.170] ([209.85.215.170:58873] helo=mail-ey0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/00-36645-084A7FC4 for ; Thu, 02 Dec 2010 08:52:00 -0500 Received: by eyf5 with SMTP id 5so4230132eyf.29 for ; Thu, 02 Dec 2010 05:51:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=RSVp2Ww651whi8KVCoUY/ktL+n/cQvMPxyDGdWMJHiI=; b=LsEM4GWKHpz1EN3lfkfRKaHqF3c14zVpGZg/BKkeL2nRa9Q3TJ4kjiyRACb/w4406u jWNURhnRaR5/Q/Pgbyf/lhUx47/wtSgRb+dGYS3TFp72QAA3ewLDDzez2CelDW5KaFVz GObs9t4bAODcggCKPOrK99cYL29lCQa7of6Tk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VKOJDWOhKZW9GHBOsdYc1KRM7ZErr6AAcyJO6zkC7VXt4gdxwgwlzT8XqDzajjtq2b seiCTKTkrgMURvSFDyenlpB9OD3zN5/q+oxVLaKKMGQZ7RjOjZZdT1CY1z54PTNEWh6h CpWJE2TorY7Ft6/LqwIRqJPbo2m/WUbjcoTsI= MIME-Version: 1.0 Received: by 10.213.10.193 with SMTP id q1mr720307ebq.81.1291297917222; Thu, 02 Dec 2010 05:51:57 -0800 (PST) Sender: patrick.allaert@gmail.com Received: by 10.213.4.201 with HTTP; Thu, 2 Dec 2010 05:51:57 -0800 (PST) In-Reply-To: References: <1290879624.7033.826.camel@guybrush> Date: Thu, 2 Dec 2010 14:51:57 +0100 X-Google-Sender-Auth: bnTkCpPJT1_5PVoEA3s_nT4cpNs Message-ID: To: Peter Beverloo Cc: =?UTF-8?B?QW5kcsOpIFLDuG1ja2U=?= , Kalle Sommer Nielsen , =?UTF-8?Q?Johannes_Schl=C3=BCter?= , PHP internals list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] RFC: Making T_FUNCTION optional in method declarations From: patrickallaert@php.net (Patrick ALLAERT) 2010/12/2 Peter Beverloo : > On Thu, Dec 2, 2010 at 14:06, Patrick ALLAERT wr= ote: >> 2010/12/2 Andr=C3=A9 R=C3=B8mcke : >>> On Thu, Dec 2, 2010 at 10:34 AM, Patrick ALLAERT >>> wrote: >>>> Shouldn't we get rid of that kind of pre-PHP5 stuff _before_ >>>> introducing the possible omission of T_FUNCTION? >>> >>> Why? >>> This will break lots of code, does it improve anything while at it? Is = 'var' >>> hindering anything? Is it taking up a lot of code? >>> If it is removed then that should be in trunk aka "6.0" the 2nd , and n= ot in >>> 5.x. >> >> It should of course not appear in a 5.x release! But sounds like >> current trunk can't be anyway. >> >> +1 for removing T_VAR and making T_FUNCTION optional in a major release. >> -1 otherwise. >> >> -- >> Patrick Allaert >> --- >> http://code.google.com/p/peclapm/ - Alternative PHP Monitor >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > An entire major version relied on the usage of T_VAR within classes. > Many people still use it today. > I therefore am strongly against removing T_VAR, considering it would > break huge amounts of userland code. If people migrate to a major version of PHP > 5 they should at least stop relying on PHP 4 features still valid thanks to BC consideration. > In either case, it should be > deprecated with an E_DEPRECATED warning during at least another major > before it gets removed. This makes much sense! --=20 Patrick Allaert --- http://code.google.com/p/peclapm/ - Alternative PHP Monitor