Updated new array syntax to support ancient PHP versions.