Re: Re: Scalar Type Declaration Syntax Weirdness

From: Date: Wed, 25 Nov 2015 23:46:54 +0000
Subject: Re: Re: Scalar Type Declaration Syntax Weirdness
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-89437@lists.php.net to get a copy of this message
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/

« previous php.internals (#89437) next »