Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89437 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86731 invoked from network); 25 Nov 2015 23:46:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2015 23:46:59 -0000 X-Host-Fingerprint: 90.204.81.227 unknown Received: from [90.204.81.227] ([90.204.81.227:27999] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/02-05516-27846565 for ; Wed, 25 Nov 2015 18:46:58 -0500 Message-ID: <38.02.05516.27846565@pb1.pair.com> To: internals@lists.php.net References: <56547DFE.3080407@php.net> <565496FA.2010604@gmail.com> <84.DA.57156.C6B94565@pb1.pair.com> <56549E24.7030902@gmail.com> <046601d12769$9801d000$c8057000$@belski.net> <065801d127d9$10689190$3139b4b0$@belski.net> Date: Wed, 25 Nov 2015 23:46:54 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <065801d127d9$10689190$3139b4b0$@belski.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 90.204.81.227 Subject: Re: [PHP-DEV] Re: Scalar Type Declaration Syntax Weirdness From: ajf@ajf.me (Andrea Faulds) Hi Anatol, Anatol Belski wrote: >> >> It may not be documented, but that doesn't put it outside the scope of BC. >> People will unintentionally rely on bugs. >> > What is the reason to use \int if "class \int{}" is prohibited? A typo :) ? It might be used deliberately since some IDEs (PHPStorm in particular) can't handle PHP 7's scalar type hints properly in namespaces yet. Thanks. -- Andrea Faulds http://ajf.me/