Adding PHP <= 5.3 compatibility.

Replacing PHP 5.4 array short notation with the traditional one to support PHP versions < 5.4