The help file states you should use = in /var, if you don't use = to set your variables it's not really a bug in /var but in your script.

You could argue that /var shouldn't allow people to withhold the =, but that'd break too many scripts now.