Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85211 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39888 invoked from network); 19 Mar 2015 09:52:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2015 09:52:33 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.41 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.218.41 mail-oi0-f41.google.com Received: from [209.85.218.41] ([209.85.218.41:33932] helo=mail-oi0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/11-32681-F5C9A055 for ; Thu, 19 Mar 2015 04:52:31 -0500 Received: by oier21 with SMTP id r21so60381630oie.1 for ; Thu, 19 Mar 2015 02:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=zOQO2sYt1DMdRyFa9VNHw1S2fB9D/mxFW7wJ6CvlXFg=; b=lKUt8v8Um8fd7zvt5Vwh1upMDkcP5GPuByC7x6iQZtJqErYwU5yFPO9HwtnuWAudnb aZQJYET+p6hAGTeKDpOOlCLQfBxlaLxXC4pmmSKZC9MXdMnW9HuTB2nl6yMs1s+KnaqE ljjMsgYcAanQRCKzPYxuQa43kW4rLN+cXAmHvNcnohy80vIjHH72oSMdhXwzmimo/yhx tykUF1gU1+Ga3DTYkZoj22lyBYHF1IHFnRaLxLxDkcGlkFHEW+zhi/USyph3IR15dgsb WMSU0vB958POiers6ex3NpwnNg/dWAO6p906IzX0tT9XIWBG/cjD50raWXZJVMy10udM +C4A== X-Received: by 10.182.92.165 with SMTP id cn5mr60752425obb.10.1426758748416; Thu, 19 Mar 2015 02:52:28 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.202.58.2 with HTTP; Thu, 19 Mar 2015 02:51:48 -0700 (PDT) In-Reply-To: References: <55079692.6050405@gmail.com> <5507E7DD.3010908@lsces.co.uk> <4d718ab93fd35cd35374ee70773fed1b@mail.gmail.com> Date: Thu, 19 Mar 2015 18:51:48 +0900 X-Google-Sender-Auth: znJ4KNiPN3BbX87m9KpUah6YjKc Message-ID: To: Zeev Suraski Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11c330d06130510511a1283c Subject: Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5 From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c330d06130510511a1283c Content-Type: text/plain; charset=UTF-8 Hi all, On Thu, Mar 19, 2015 at 6:37 PM, Yasuo Ohgaki wrote: > On Wed, Mar 18, 2015 at 6:43 PM, Zeev Suraski wrote: > >> > FWIW, as someone who did play with the patch (both patches, of course), >> > I'm not sure why people are claiming you don't understand the RFC. Your >> > comments in the code are 100% accurate, which means you understood >> > exactly how it works. >> >> Josh Di Fabio just pointed out to me that the code in question wasn't >> actually written by you but by Dennis Birkholz, so my statement was >> incorrect. >> Still, from what you said it appears to me you still understood the >> behavior >> but disagreed with it. I know that at least on my end, that was >> definitely >> the case. > > > Yes and I fully agree. > > Anyway, unlike your proposal, I have to advocate users not to use type hint > for database INT8, JSON numeric, etc. It will be tough job... > Anyone who are willing to use type hint for any data that has integer/float form, you still have chance to vote to 'yes' for https://wiki.php.net/rfc/coercive_sth Weak mode can be coercive. Coercive mode works better with my type affinity proposal also. https://wiki.php.net/rfc/introduce-type-affinity Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c330d06130510511a1283c--