
Aziz S. Hussain - 2012-06-14 20:14:37
Your idea of giving the option for object properties to declare the type is a great step of having PHP become a better scripting language.
Most developers, including myself, are already doing so using the property docblock comments, I don't see a reason why allowing such option is in any way a bad idea.
Good article. Just learned about type inference.
Aziz