[ZF3] implement #5474 : change array() into []

implement #5474