Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42943 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59120 invoked from network); 5 Feb 2009 19:06:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2009 19:06:44 -0000 Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:49433] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/9C-24530-1C83B894 for ; Thu, 05 Feb 2009 14:06:44 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LV9YZ-0001yk-ME for internals@lists.php.net; Thu, 05 Feb 2009 19:06:36 +0000 Received: from hartes-php.de ([85.214.110.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2009 19:06:35 +0000 Received: from sb by hartes-php.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2009 19:06:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Thu, 05 Feb 2009 11:06:22 -0800 Lines: 15 Message-ID: References: <5EC76153-898F-49C2-BDF1-C227578DB874@pooteeweet.org> <298CA3D0-60B7-4CFD-A2D3-E39D52ECDD46@bitextender.com> <1233851543.8601.24.camel@goldfinger> <1233860567.8601.34.camel@goldfinger> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: hartes-php.de User-Agent: Thunderbird 2.0.0.19 (X11/20090103) In-Reply-To: <1233860567.8601.34.camel@goldfinger> Sender: news Subject: Re: [PHP-DEV] towards the next 5.3 release From: sb@sebastian-bergmann.de (Sebastian Bergmann) Johannes Schlüter wrote: > Of course we could, we'd "just" have to change a structure and > zend_verify_arg_class_kind() and of course the language syntax to allow > something like "function foo(A|B $bar) {}" but this still would mean to This should, of course, only be for built-in functions and methods. But yeah, it probably does more harm than good. It just sucks, IMHO, that some functions and methods will not have Reflection API metadata because the same arginfo structure is used for two things. But I will shut up now. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69