Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58399 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98259 invoked from network); 1 Mar 2012 09:13:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2012 09:13:52 -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.213.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:64106] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/AE-46815-DCD3F4F4 for ; Thu, 01 Mar 2012 04:13:49 -0500 Received: by yenl5 with SMTP id l5so116791yen.29 for ; Thu, 01 Mar 2012 01:13:46 -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 t66mr5594065yhd.45.1330593226636 (num_hops = 1); Thu, 01 Mar 2012 01:13:46 -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=j+jOKM6F4z7e/Gmfoh3qqTtmEft8wQwCfjVB5HBPnS8=; b=cELw3yFLdK/ao/pDuEhk+7iQDJy3ZZDl6NDNf5ygRVWwKDI2YTBMXDKuUNC0rRx4tL pqD96P7F2EA88SQTOJ9EMaUmPDhc2a0q62+W+gqsopZain7xGiquzxrDaNin4du4qrKx 5VPxw0ghTkDYgSE22iTY+mtQG+Va2l4QmCQBk= MIME-Version: 1.0 Received: by 10.236.72.230 with SMTP id t66mr4333895yhd.45.1330593226587; Thu, 01 Mar 2012 01:13:46 -0800 (PST) Received: by 10.146.221.14 with HTTP; Thu, 1 Mar 2012 01:13:46 -0800 (PST) In-Reply-To: <4F4EE0C0.1050302@php.net> References: <4F4EE0C0.1050302@php.net> Date: Thu, 1 Mar 2012 10:13:46 +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) hi Sebastian, On Thu, Mar 1, 2012 at 3:36 AM, Sebastian Bergmann wrot= e: =A0usually does not work. > > =A02) What you want to achieve is already possible through docblocks. I am not saying that I like the idea of scalar type arguments, but you keep saying that docblocks solve such issue. They are totally unrelated to what is discussed here, they are documentations. They have nothing to do with runtime information (The same concept applied to the annotations, if you remember it). However, following your logic, class type hinting was a mistake? Cheers, --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org