Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42351 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28222 invoked from network); 19 Dec 2008 15:09:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Dec 2008 15:09:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=nrixham@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nrixham@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.20 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: nrixham@gmail.com X-Host-Fingerprint: 209.85.219.20 mail-ew0-f20.google.com Received: from [209.85.219.20] ([209.85.219.20:34264] helo=mail-ew0-f20.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/F7-09584-549BB494 for ; Fri, 19 Dec 2008 10:09:58 -0500 Received: by ewy13 with SMTP id 13so1064214ewy.23 for ; Fri, 19 Dec 2008 07:09:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=QanERp1XCiC9jg8sXngGyUBjLnkPLtS2kueMKQSN5Tw=; b=o9tbAHBe3eaZG/YBaCjrx+Ks4diRjmjqIIevyHN3aBgA6DwqRvy6j26xqIXA0ODy46 jS3OzHlgJzqpgBxF0vt63tGD9+O3HR0Sn7Kcsx6LdmgNHFmm/gUQH72ink2+aIizj5Lc FeJizLWcdabL8Ay+hXyuYgR+2ZUlbqzuzZVq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=oLfk9jQkZI4gl0AOc6eXovfa774E0aXKgCj6zJZQ6DmjhaJn6Npeat5dT4Uwr3P+jy 0rzG+HVm0OnApzG2TSs34Zkj3OQHWfXqBBahdOpAvrwHicJZZd9AY3i+Jvx7oGT2kfQQ bMIi+t1cVIyRN0JiNTnJj0l2H3UPxnloLTxfs= Received: by 10.210.22.16 with SMTP id 16mr3875835ebv.31.1229699395079; Fri, 19 Dec 2008 07:09:55 -0800 (PST) Received: from ?192.168.2.6? (82-41-135-70.cable.ubr02.grth.blueyonder.co.uk [82.41.135.70]) by mx.google.com with ESMTPS id b33sm16419199ika.5.2008.12.19.07.09.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Dec 2008 07:09:54 -0800 (PST) Message-ID: <494BB934.5050506@gmail.com> Date: Fri, 19 Dec 2008 15:09:40 +0000 Reply-To: nrixham@gmail.com User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: viroteck@viroteck.net CC: internals@lists.php.net, Kalle Sommer Nielsen , Dave Ingram , =?ISO-8859-1?Q?Cristian_Rodr=EDguez?= References: <69.22.48223.7E389494@pb1.pair.com> <494A3B12.80509@dmi.me.uk> <494ABFD8.2090406@suse.de> <494ACAA8.6080600@dmi.me.uk> <494ACEAE.2090700@gmail.com> <494AD2AF.9000702@gmail.com> <2dedb8a0812181823q53a3b464oc1e2e2bd37792f98@mail.gmail.com> <494BB04C.40603@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Q on Primitives From: nrixham@gmail.com (Nathan Rixham) Robin Burchell wrote: > Hmm. How would it break it? > > By leaving 'function' to mean variant, it's only adding new > functionality by overriding types to replace 'function', which should > have no issue with older code, surely? > > To clarify: > > current method declaration: > function foo() > public static function foo() > public function foo() > > because all of those current declarations would no longer work on the new version of php which implemented such change..? and I'm assuming it would be a much bigger change to the php internals than adding in an optional type after the method params..? I do like the "type method()" syntax though, but don't think it's a php thing..?