Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58401 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2373 invoked from network); 1 Mar 2012 09:39:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2012 09:39:26 -0000 Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 93.190.64.33 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 93.190.64.33 mail-3.de-punkt.de Received: from [93.190.64.33] ([93.190.64.33:45875] helo=mail-3.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/8F-46815-CC34F4F4 for ; Thu, 01 Mar 2012 04:39:25 -0500 Received: (qmail 27633 invoked by uid 511); 1 Mar 2012 09:39:21 -0000 Received: by simscan 1.4.0 ppid: 27629, pid: 27631, t: 0.1886s scanners: attach: 1.4.0 Received: from unknown (HELO ?0.0.0.0?) (sb%sebastian-bergmann.de@217.114.76.105) by 0 with ESMTPA; 1 Mar 2012 09:39:21 -0000 Message-ID: <4F4F43C8.5070401@php.net> Date: Thu, 01 Mar 2012 04:39:20 -0500 Organization: PHP Development Team User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: internals@lists.php.net References: <4F4EE0C0.1050302@php.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Scalar Type Intentions From: sebastian@php.net (Sebastian Bergmann) On 03/01/2012 04:13 AM, Pierre Joye wrote: > However, following your logic, class type hinting was a mistake? The Type Hinting we currently have for arrays, callables, classes, and interfaces is not a mistake. Why? Because the types in question are not affected by the "type juggling". -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/