Compatibility with PHP5.3: Changing [] syntax to array()