Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58805 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44514 invoked from network); 9 Mar 2012 06:39:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2012 06:39:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tjerk.meesters@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: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:50206] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/35-10820-5A5A95F4 for ; Fri, 09 Mar 2012 01:39:33 -0500 Received: by yenl5 with SMTP id l5so814294yen.29 for ; Thu, 08 Mar 2012 22:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=P9TX4IopzMSoNo3dneXKsqJJW1GIor5RkMGjtHFDM54=; b=oaY/9zXUsnNLfPsFRorLRJ17+DawWRVHI7BTGx0G517LbHi0EIlUxq3cd9A0u6X82l yK/2kG+L2ODUlQIAaiWNQZfhOZ8UtImyO0vRYb/4LqV5mrr8oLNogkap4oxlhxHPVi49 7AIIq0KLikj4NfSpwUoQY/OEirkPeX01DstZujo0+ZOjSbuySrUCkwlszBoy0gA/frQ3 9EEi5F4VVBFB6+nQYxQbf2LYjA3xkLYAiC8f0ZJfrEL1zsq8GloowAb37Y++VHzJURmQ OFhDDxDm4k2IOgN1jOZp4ksBi3tkPQPPzSvMVeP0QF9dFwtby0ESAiJBMYOdFnVGkbk1 fegg== MIME-Version: 1.0 Received: by 10.236.197.74 with SMTP id s50mr943144yhn.127.1331275171081; Thu, 08 Mar 2012 22:39:31 -0800 (PST) Sender: tjerk.meesters@gmail.com Received: by 10.147.146.6 with HTTP; Thu, 8 Mar 2012 22:39:31 -0800 (PST) In-Reply-To: References: Date: Fri, 9 Mar 2012 14:39:31 +0800 X-Google-Sender-Auth: 62T8CBTPJCw0cFdGCxNIanasefA Message-ID: To: Ilia Alshanetsky Cc: Anthony Ferrara , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [POC - Patch] Scalar Type Hinting - A-La zend_parse_parameters From: datibbaw@php.net (Tjerk Anne Meesters) On Fri, Mar 9, 2012 at 10:58 AM, Ilia Alshanetsky wrote: > Anthony, > > My concern with this type of patch is that what you are proposing are > not really hints, they are forced casts. As such they modify the data > potentially leading to data loss. > But at least it's consistent with "array" and class name qualifiers that php already has, regardless of what you want to call it, be it hints, casts, typing, etc.