Hi François,

Am 28.04.2015 um 13:32 schrieb François Laupretre:
> - In 7.0, introduce the 'object' (accepts any object instance) and 
> 'object(ClassName)' (similar to the bare 'ClassName') type hint syntaxes.

I find this variant extremely nonintuitive and it conflicts with the
behavior of every relevant language (Java, C++) that has classes and
simple types.

I would like PHP to make all class/trait/interface names case-sensitive
and use only lower-case names for the scalar type hints (same for
object, array, etc.). This would solve most problems. Class names are
kind of case sensitive in applications that rely on autoloading on
platforms with case sensitive file systems.

Greets
Dennis

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

Reply via email to