Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42337 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44044 invoked from network); 18 Dec 2008 22:09:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Dec 2008 22:09:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=dave@dmi.me.uk; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dave@dmi.me.uk; sender-id=pass Received-SPF: pass (pb1.pair.com: domain dmi.me.uk designates 213.171.205.116 as permitted sender) X-PHP-List-Original-Sender: dave@dmi.me.uk X-Host-Fingerprint: 213.171.205.116 unknown Received: from [213.171.205.116] ([213.171.205.116:33674] helo=scaramanga.siterage.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/1A-09584-60ACA494 for ; Thu, 18 Dec 2008 17:09:11 -0500 Received: from localhost (scaramanga.siterage.net [127.0.0.1]) by localhost.akadia.com (SiteRage Mail Server) with ESMTP id A7B7453581; Thu, 18 Dec 2008 22:09:07 +0000 (GMT) X-Spam-Flag: NO X-Spam-Score: -4.269 X-Spam-Level: X-Spam-Status: No, score=-4.269 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.130, BAYES_00=-2.599] Received: from scaramanga.siterage.net ([127.0.0.1]) by localhost (scaramanga.siterage.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2lC0xMgJFjr2; Thu, 18 Dec 2008 22:09:06 +0000 (GMT) Received: from [192.168.1.65] (host86-138-34-173.range86-138.btcentralplus.com [86.138.34.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by scaramanga.siterage.net (SiteRage Mail Server) with ESMTPSA id B0196CEBF; Thu, 18 Dec 2008 22:09:06 +0000 (GMT) Message-ID: <494ACA01.1000100@dmi.me.uk> Date: Thu, 18 Dec 2008 22:09:05 +0000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.18) Gecko/20081105 Lightning/0.9 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Giorgio Sironi CC: Nathan Rixham , internals@lists.php.net References: <69.22.48223.7E389494@pb1.pair.com> <494A3B12.80509@dmi.me.uk> <8637af910812181126y3c0f0badv64f591c22480834e@mail.gmail.com> In-Reply-To: <8637af910812181126y3c0f0badv64f591c22480834e@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Q on Primitives From: dave@dmi.me.uk (Dave Ingram) > I remember that multiple signatures was said to have a possible very > difficult implementation. However, a similar behaviour can be achieved by > some instanceof(). > I thought it probably would be awkward, but we do already have some type hinting that can also be accomplished with instanceof() -- this is just an extension of that idea. Although it's not my idea as such! Dave