Fix PHP 5.3 error.
5.3 doesn't allow accessing an array index returned by an instance method without assigning it to a temporary variable. For instance  will fail.

Signed-off-by: Se7enChat <se7enchat@zoho.com>