Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89398 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68336 invoked from network); 25 Nov 2015 03:47:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2015 03:47:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.213.43 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.213.43 mail-vk0-f43.google.com Received: from [209.85.213.43] ([209.85.213.43:35490] helo=mail-vk0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/A0-57156-26F25565 for ; Tue, 24 Nov 2015 22:47:47 -0500 Received: by vkha189 with SMTP id a189so26629085vkh.2 for ; Tue, 24 Nov 2015 19:47:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=JxXQqHZGOAdid+98Scbq6w+VmCkmwha4Hif0Aj+nnNw=; b=HbBBdUnK2/86YrbRXFS6keKAFshAllc85nAC9DO5Bt/Bqip016zNXycresrE7icJrR AjZQ87PSOcifW2DwPDVVZvcxMzsARTOc0O8LUTzKauyfRU3+lKImR+xTDnYJtv5ERtF9 /+9FK3Pc/PhXSaSP5Uu9GzgsJVePMx2wkqt80l6SFkk8u+QjxIIzWx+XWNlG89hG+3Vh LgsHD7g1T9DiJiCghdpCiIrDC+r4zdpyBb1kD1cRxyVk8FeZpxSCjU+BDCStHkM6e4ob yfKp4dAmgflmSMNNGote/8rsJ+352Sbr/3RET6sA+hB6835U5+SJJd45/Quol4y4tUM7 7G0A== X-Gm-Message-State: ALoCoQkjZdEZr6t3ZdE/JixSH1PQvgB8isL5YVOCSXbSl4kw6XBkuSmyb+YaN+dsB6icAIG7eNMFE9q6zQHlp8JaNC2sxjC9fHeXPerJJ9VCTondHuVEuT/XLiGsUQ9yGRUDs0boy71eReYrKHIT3F4Da8U+eZ85gW9BN2jZAboupBIBJdaf94M= X-Received: by 10.31.167.20 with SMTP id q20mr30073392vke.79.1448423263893; Tue, 24 Nov 2015 19:47:43 -0800 (PST) Received: from mail-vk0-f45.google.com (mail-vk0-f45.google.com. [209.85.213.45]) by smtp.gmail.com with ESMTPSA id x62sm17135777vkx.0.2015.11.24.19.47.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Nov 2015 19:47:43 -0800 (PST) Received: by vkfr145 with SMTP id r145so26958038vkf.0 for ; Tue, 24 Nov 2015 19:47:42 -0800 (PST) X-Received: by 10.31.162.16 with SMTP id l16mr31329366vke.69.1448423262844; Tue, 24 Nov 2015 19:47:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.229.7 with HTTP; Tue, 24 Nov 2015 19:47:23 -0800 (PST) In-Reply-To: References: <56547DFE.3080407@php.net> <565496FA.2010604@gmail.com> <84.DA.57156.C6B94565@pb1.pair.com> <56549E24.7030902@gmail.com> <5654BAE2.8020306@beccati.com> Date: Wed, 25 Nov 2015 11:47:23 +0800 X-Gmail-Original-Message-ID: Message-ID: To: Bob Weinand Cc: Anatol Belski , Andrea Faulds , Matteo Beccati , internals PHP Content-Type: multipart/alternative; boundary=001a114402de1101720525555280 Subject: Re: [PHP-DEV] Scalar Type Declaration Syntax Weirdness From: laruence@php.net (Xinchen Hui) --001a114402de1101720525555280 Content-Type: text/plain; charset=UTF-8 Hey: On Wed, Nov 25, 2015 at 4:49 AM, Bob Weinand wrote: > > Am 24.11.2015 um 20:30 schrieb Matteo Beccati : > > > > On 24/11/2015 18:50, Andrea Faulds wrote: > >> There's no syntax change. We'd be adding another fatal error to > >> zend_compile.c triggered by a flag on the token. No messing around with > >> the parser. > >> > >> I understand your concern about the risk, but it's the kind of change > >> that wouldn't break anything without it being tremendously obvious. > > > > I agree and we should be still in time for RC8. > > > > > > Cheers > > -- > > Matteo Beccati > > Hey, > > I fixed the issue via > http://git.php.net/?p=php-src.git;a=commitdiff;h=569763cb1ac67f56e7743062ca8b3b7c650c1254 > > I think too this should go into PHP 7.0.0 as it is some type of a language > related change (even if not directly failing in parser...) > > I've made a improvement to the fix( https://github.com/php/php-src/commit/00865ae22f2c5fdee9e500ce79d442467e0a0899) , before this, \array will result a syntax , but \int result a compiler error, which seems a little in-consistent. thanks > Bob > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Xinchen Hui @Laruence http://www.laruence.com/ --001a114402de1101720525555280--