replace [] by array() for supportig php5.3