Hey there!
This is a request for something I run across a lot... Code completion doesn't work for objects in $GLOBALS.
I often have a globally declared object with some methods. For example:
class SampleClass {
public function something() {
return true;
}
}
$aninstance = new SampleClass();
function samplefunction() {
$GLOBALS['aninstance']->something(); // <-- Code completion won't recognize $GLOBALS['instance'] as
// an instance of SampleClass and offer to complete
// something()
}
|
It would be awesome if PhpED could recognize object instances in arrays (or $GLOBALS at the very least) for code completion purposes.