Changing array syntax so it works in PHP < 5.3