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/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to