changed array [] syntax to array() in php.