This is just for easier to track and read the code, I want my php code follow what the Java did.
For example:
foreach($objects as $object){
do something with $object .
}
I want the $object is clear what kind of object is it ...
I tried foreach($objects as (ClassOfSomething) $object):
but it produced error ...
I want my code easy to read and the object recognized by the IDE directly (I am using Intellij Idea btw)
"The Most Intelligent IDE for the Java Platform". :)