Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85195 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38953 invoked from network); 18 Mar 2015 14:33:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Mar 2015 14:33:50 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.20 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.20 mout.gmx.net Received: from [212.227.17.20] ([212.227.17.20:55627] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/F0-32095-ACC89055 for ; Wed, 18 Mar 2015 09:33:49 -0500 Received: from [192.168.0.101] ([91.67.244.80]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MUTSJ-1Yz1Mr2CgN-00RJM4; Wed, 18 Mar 2015 15:33:42 +0100 Message-ID: <55098CCA.3050604@gmx.de> Date: Wed, 18 Mar 2015 15:33:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: =?UTF-8?B?UGF2ZWwgS291xZlpbA==?= , Anatol Belski CC: Pierre Joye , PHP internals , Anthony Ferrara References: <1c45330124cc799d5d057f604c11ec92.squirrel@webmail.klapt.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:Jvc5EFAU5bU+JuhHIYK4r2cWkqqLhBluNSlkjhp6RMWYMklck8n geu0pSaXiw23Z5NKdv0/eBFGgWySpEa1QDAn/tUBcDtYrZGstrTiscSLChimgpBGGge8CIM pWY1+vFKWprZzVFTgxGwodJs0r74pusiQNb7Q/QCbLVJoqet+8Z3BLh43TMR1J5XvBZ9Ha6 VHz8vaHZFnGY32E03Ylmg== X-UI-Out-Filterresults: notjunk:1; Subject: Re: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5 From: cmbecker69@gmx.de (Christoph Becker) Pavel KouĊ™il wrote: > On Wed, Mar 18, 2015 at 1:47 PM, Anatol Belski wrote: >> >> for anyone needing to test on Windows, there was builds for an older RFC >> version >> >> http://windows.php.net/downloads/snaps/ostc/scalar_type_hints_2_strict_mode/ >> >> but I just made quick builds for the current as well >> >> http://windows.php.net/downloads/snaps/ostc/scalar_type_hints_v5/ >> >> So you've got the choice. > > I've tried the build, and it seems like it's in the strict mode 100% > by default, and the "declare" statement doesn't recognize strict_types > ("PHP Warning: Unsupported declare 'strict_types'"). Is this > intentional? I quickly tried both php-7.0.0-dev-nts-Win32-VC11-x64.zip, but it seems the 2015-03-18 build doesn't handle scalar type hints at all.