Since you are using Aptana Studio, not PDT, I will add the comment I wrote above (as an answer).
The correct syntax in Aptana Studio is:
$obj;
This redundant call is a transaction breaker (IMHO), so I am working on additional support, for example, using the special @var syntax for PDT suggested by @Phil).
$obj->
In any case, for backward compatibility, both will be supported in the next version of Studio.
Hope that helps
source share