What's wrong with the trailing comma? It's allowed and usually recommended in PHP.