[BUGFIX] PHP 5.3 does not have array dereferencing

This change fixes method result array dereferencing as it is not
supported in PHP 5.3.