Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89387 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24454 invoked from network); 24 Nov 2015 17:03:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2015 17:03:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.50 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 74.125.82.50 mail-wm0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:36653] helo=mail-wm0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/7A-57156-E6894565 for ; Tue, 24 Nov 2015 12:03:43 -0500 Received: by wmww144 with SMTP id w144so147521420wmw.1 for ; Tue, 24 Nov 2015 09:03:39 -0800 (PST) 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=NQOEi/4Y00xgSBvDnHb1LYLDxf2C4oUkYi2fc2fYO2s=; b=AsLG7PmjZWMPPVoTvsKLLvlMF6K6I8MtIkZDRSDshIZO2G8jG3TTEjbNurob9eJm7m YRV+hZBYsiMkjUf3ST9Ty/7nVdjIHt3hAiwcE+nwqgje1dQ7xrKUv8SlOioetQU1NohD xC/Plj919Jw9p1iAhySdRX+W7YwVWn3f6aFbaDhVTLT1MpFOKAhOgV82VkXv8DAig2e+ 3GazK8wiYbZ96VZlhP7yh4Z/JXy2oUJ1T2Mg+0+xZKY1p9P/Bmd4OooW7Z1PbE+QTRTt 5Qco4jccu09lzasDazSpndVOkf3jOostiUFzigpSjGlQew6WbqcshXjpLPjTjEZ4omqz GCJw== MIME-Version: 1.0 X-Received: by 10.194.52.68 with SMTP id r4mr36099702wjo.8.1448384619350; Tue, 24 Nov 2015 09:03:39 -0800 (PST) Received: by 10.28.226.10 with HTTP; Tue, 24 Nov 2015 09:03:39 -0800 (PST) In-Reply-To: <56547DFE.3080407@php.net> References: <56547DFE.3080407@php.net> Date: Tue, 24 Nov 2015 12:03:39 -0500 Message-ID: To: Sebastian Bergmann Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Scalar Type Declaration Syntax Weirdness From: ircmaxell@gmail.com (Anthony Ferrara) Sebastian, On Tue, Nov 24, 2015 at 10:10 AM, Sebastian Bergmann wrote: > The following is currently valid PHP 7 code > > function a(\int $i) {} > > Is it intentional that the \ in front of the "int" is allowed? IMHO, this > confusing notation must not be allowed. Yeah, that is a problem. We should fix that prior to gold. I'll take a peak at it when I get some time, but if someone else has a few minutes and wants to tackle it go for it. Anthony