Fixed array syntax issues for previous PHP versions