Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84712 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96237 invoked from network); 13 Mar 2015 19:38:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2015 19:38:36 -0000 Authentication-Results: pb1.pair.com header.from=pajousek@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pajousek@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.49 as permitted sender) X-PHP-List-Original-Sender: pajousek@gmail.com X-Host-Fingerprint: 209.85.192.49 mail-qg0-f49.google.com Received: from [209.85.192.49] ([209.85.192.49:43615] helo=mail-qg0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/B0-26362-BBC33055 for ; Fri, 13 Mar 2015 14:38:35 -0500 Received: by qgfi50 with SMTP id i50so28458547qgf.10 for ; Fri, 13 Mar 2015 12:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4+Xm0JiVw3ID7Fo1787+UES7ajmJ+uXeIqQEehuF4Jg=; b=yumDSlfi0/4crh9mvjuHEXmTAGCxYx9WxUVLFkHW3aLKOWpNlcT819QcWKqYKZE5p/ Prr9tHSGEyiDC/4AHqAmkrv7dwbeCaDx69iJ4SPbHUIpxw0X9t+3YZ6JAWz4//jd2X91 BGa7yhUjbSsDWObj73n79d0JzT5pXb19eT2YvSSGacC57+F9OSnUdAeRE5fBk826KmQm pUJ62hbtzvm8+qinaTGP3qIYbRdlnDtObc+iNFkW96ThRJCHEabYo+bIP5cNKWXIJG1N SpXnPgnYRy4t2Hmjp1vkAdTd3JkLyGAlE6xLOnpzJXBGPkXegQISUZuny9z5DsgIIviB lupg== MIME-Version: 1.0 X-Received: by 10.55.55.81 with SMTP id e78mr98590356qka.107.1426275512250; Fri, 13 Mar 2015 12:38:32 -0700 (PDT) Received: by 10.96.160.99 with HTTP; Fri, 13 Mar 2015 12:38:32 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 Mar 2015 20:38:32 +0100 Message-ID: To: Anthony Ferrara Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] A plea for unity on scalar types From: pajousek@gmail.com (=?UTF-8?Q?Pavel_Kou=C5=99il?=) On Fri, Mar 13, 2015 at 4:45 PM, Anthony Ferrara wrote: > > But for today, I firmly believe that the Dual-Mode proposal is the > only one that stands a chance of passing. I think it's the best chance > for the language, and it's the only one that tries to unite the > different usages of PHP into a single group, rather than alienating > users. > Hello, I see (as a userland developer) these problems with dual mode: - It is a "setting" that changes the language's behavior; I don't think that it matters whether or not it would be an INI setting or the declare() one, because both of them are bad. - It does not "unite different usages of PHP into a single group"; it does exactly the opposite, splitting PHP usage into TWO groups. - Once this dual mode would be introduced to PHP, there would probably be no way of removing it later without massive BC break, once most people would realize that it is really awful to have it in the language. (There's probably more of them, but these are the biggest issues I currently have.) Regards Pavel Kouril