Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44647 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33532 invoked from network); 2 Jul 2009 13:05:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2009 13:05:04 -0000 Authentication-Results: pb1.pair.com header.from=ilia@ilia.ws; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ilia@ilia.ws; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ilia.ws designates 74.125.78.24 as permitted sender) X-PHP-List-Original-Sender: ilia@ilia.ws X-Host-Fingerprint: 74.125.78.24 ey-out-2122.google.com Received: from [74.125.78.24] ([74.125.78.24:5901] helo=ey-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/B3-16153-E70BC4A4 for ; Thu, 02 Jul 2009 09:05:03 -0400 Received: by ey-out-2122.google.com with SMTP id 22so387301eye.43 for ; Thu, 02 Jul 2009 06:04:59 -0700 (PDT) Received: by 10.216.10.210 with SMTP id 60mr10971wev.81.1246539899609; Thu, 02 Jul 2009 06:04:59 -0700 (PDT) Received: from ?192.168.1.169? (TOROON63-1176059019.sdsl.bell.ca [70.25.60.139]) by mx.google.com with ESMTPS id u14sm5672886gvf.20.2009.07.02.06.04.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Jul 2009 06:04:58 -0700 (PDT) Cc: Lukas Kahwe Smith , Paul Biggar , PHP Internals , Derick Rethans , Stanislav Malyshev , Hannes Magnusson Message-ID: To: Robert Cummings In-Reply-To: <4A4CB074.1010000@interjinn.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Thu, 2 Jul 2009 09:04:52 -0400 References: <4A4CB074.1010000@interjinn.com> X-Mailer: Apple Mail (2.935.3) Subject: Re: [PHP-DEV] Re: Flexible type hinting From: ilia@ilia.ws (Ilia Alshanetsky) On 2-Jul-09, at 9:04 AM, Robert Cummings wrote: > Ilia Alshanetsky wrote: > >> Paul's proposal is some part does not make sense because it allows >> weak type hinting, which should not be used if you need type >> hinting. The whole idea about type hinting is definition of strict >> interfaces, not loosely based one. That's just my opinion, which >> admittedly I feel fairly strongly about. > > It's a hint, not enforcement. IMHO hinting about something is not > strict, it's a suggestion. Have you using existing array or class type hinting?