19.08.2017, 12:02
Exactly as Vince said, otherwise there wouldn't be a big difference between local and global vars.
It gets created when function is called, and destroyed when its done.
It gets created when function is called, and destroyed when its done.