removed PHP 5.4 array syntax to make the library PHP 5.3 compatible