Why should I use var instead of a type? [duplicate]

It’s really just a coding style. The compiler generates the exact same for both variants.

See also here for the performance question:

  • Will using ‘var’ affect performance?

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)