Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81628 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8094 invoked from network); 2 Feb 2015 18:56:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2015 18:56:20 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.43 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.43 mail-pa0-f43.google.com Received: from [209.85.220.43] ([209.85.220.43:34143] helo=mail-pa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 03/6F-34915-358CFC45 for ; Mon, 02 Feb 2015 13:56:20 -0500 Received: by mail-pa0-f43.google.com with SMTP id eu11so85703240pac.2 for ; Mon, 02 Feb 2015 10:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=znCofNQMVJQraMwD/4vzpnvQwrG9pl5kWlo8oFKL7lw=; b=Pwo6Ek7P7xGpLpeHsDHwPYMqiZ+uibvfZDRB3LXeQrZ/xv6qwJ7cJNxFH0b1HixHa5 gwGIT/jBvBil9MvNicrgVFJaaPPtEA+C0YtAkXwFdSbsrI6WSdIp7gW36PTa6QwDmXzG nkvEFL4YsYAqScYco1/f5FfHF3F7G+iSs4qBChoph2v4zKrFp2n09x/bs4e3S8yGJ4tq GsBr31Zib9uWBRIVW+vJj9LJhaSije+uhAwSgIU2dVS5w/sObEIhH76X62KVLYBj2zgN ftJw2gtITnTj/BZ86c1kdOiW4I97sJClsCJ9qhCh3Y9Adp8TIQZhUruQ1Vlj/fuuYmA7 fDbQ== X-Received: by 10.70.45.231 with SMTP id q7mr31846495pdm.32.1422903377382; Mon, 02 Feb 2015 10:56:17 -0800 (PST) Received: from [192.168.2.145] (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id gi3sm19462289pbc.83.2015.02.02.10.56.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Feb 2015 10:56:16 -0800 (PST) Message-ID: <54CFC849.3080001@gmail.com> Date: Mon, 02 Feb 2015 10:56:09 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Pierre Joye , Dmitry Stogov CC: PHP Internals , Andrea Faulds , Nikita Popov References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] What do we need strict scalar type hints for? From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Keeping that in mind, the declare statement, as ugly as it may look, > could be actually a killer to finally get what both camps want but > never (and never will) manage to agree. I think having two conceptual frameworks in one language and having to deal with (and potentially maintain) code bases with mixed conceptual framework is a very bad idea. That would lead to a language fragmentation as strict code will become hard to combine with non-strict code within one application, and pretty soon people will start asking questions like "is this library written in strict-PHP or non-strict-PHP? ow, dang, we can't use it because we use the other one..." -- Stas Malyshev smalyshev@gmail.com