Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58403 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5588 invoked from network); 1 Mar 2012 09:48:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2012 09:48:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:40706] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/30-46815-2064F4F4 for ; Thu, 01 Mar 2012 04:48:50 -0500 Received: by ggki2 with SMTP id i2so125341ggk.29 for ; Thu, 01 Mar 2012 01:48:47 -0800 (PST) Received-SPF: pass (google.com: domain of pierre.php@gmail.com designates 10.236.72.230 as permitted sender) client-ip=10.236.72.230; Authentication-Results: mr.google.com; spf=pass (google.com: domain of pierre.php@gmail.com designates 10.236.72.230 as permitted sender) smtp.mail=pierre.php@gmail.com; dkim=pass header.i=pierre.php@gmail.com Received: from mr.google.com ([10.236.72.230]) by 10.236.72.230 with SMTP id t66mr5718449yhd.45.1330595327844 (num_hops = 1); Thu, 01 Mar 2012 01:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=PLnk3XwyvIIuAtY0L9Mm2PHokiJzXRxaf0bFl1ZLS6c=; b=hmeYwjl6vxQYeszZnxnOPnxrV+99FM38o3s7LgEbVkD4NHRg8LLLrrkmA5OdilzuIG rajE28JvuFgHuDOvqpB36TSHSvLWrGJzNBse1oMvDk2IqzOLGHVRM/DmHEKMadPwP4Uf tD5UN6C9xwn0MZYHH65YdsRkX3mqXTTXZiF30= MIME-Version: 1.0 Received: by 10.236.72.230 with SMTP id t66mr4428986yhd.45.1330595327762; Thu, 01 Mar 2012 01:48:47 -0800 (PST) Received: by 10.146.221.14 with HTTP; Thu, 1 Mar 2012 01:48:47 -0800 (PST) In-Reply-To: <4F4F43C8.5070401@php.net> References: <4F4EE0C0.1050302@php.net> <4F4F43C8.5070401@php.net> Date: Thu, 1 Mar 2012 10:48:47 +0100 Message-ID: To: Sebastian Bergmann Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Scalar Type Intentions From: pierre.php@gmail.com (Pierre Joye) On Thu, Mar 1, 2012 at 10:39 AM, Sebastian Bergmann wro= te: > On 03/01/2012 04:13 AM, Pierre Joye wrote: >> >> However, following your logic, class type hinting was a mistake? > > > =A0The Type Hinting we currently have for arrays, callables, classes, and > =A0interfaces is not a mistake. Why? Because the types in question are no= t > =A0affected by the "type juggling". That's a different discussion, your second argument is simply plain wrong. --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org