How to use Braintree payment gateway library 3.5 on php 5.3 Server it gives error : Parse error: syntax error, unexpected '[' on Braintree/OAuthGateway.php on line 64
require_once('braintree-php/lib/Braintree.php');
Braintree_Configuration::environment('sandbox');
Braintree_Configuration::merchantId('h9xhpt9b5zjgbkpj');
Braintree_Configuration::publicKey('4yfx77c9cns49y9d');
Braintree_Configuration::privateKey('54bbbab22711240ddb3d40e19ff6a13d');
Above is the sandbox payment mode of braintree payment gateway i want to use it on godaddy server. it was rising above error so , any one can help me to implement this restrictions