Skip to main content
Known Participant
August 17, 2011
Question

initializing variables

  • August 17, 2011
  • 1 reply
  • 352 views

is it recommended to initialize variables?  i got some errors with it when reporting errors, but most of my code seems to run fine without it.  is it a security or vulnerability if i don't do it?

thanks in advance.

This topic has been closed for replies.

1 reply

Participating Frequently
August 18, 2011

The basic rule is to initialize them as soon as you have a value to initialize them to.