In Java, everything object, I know which type it is, for example... I will doing something like this:
MyObject aObject = new MyObject();
I always know that the "aObject" is MyObject...
but PHP, I use this
$aObject = new MyObject();
I don't know what is the "aObject" was, I try to doing this, it gives me error:
MyObject $aObject = new MyObject();
It makes me feel very focus on that, any suggestions? Thank you.