Exactly. I just added the "mixed" type hint which is the same as using
no type hint. The new patch is attached.

IMO adding new type hint for the sole purpose of having some string next to the variable is just silly. If you need documentation, use documentation.

Extra keywords (real, long, double, etc.) have been taken out. The
available type hints are now mixed, int, float, bool, string, scalar,
num, resource, and object. And of course array and class type hints

Do you realize that hinting variable as "object" or "resource" has no meaning, since resources and objects are not interchangeable and you never want just "object" or "resource" - you want object of particular class and resource of particular type?
Also, what use case might there be for "scalar"?
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

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

Reply via email to