Changed PHP array syntax to type compatible with older php versions