Page 1 of 1

Error if Variable not Pre-assigned [Answered]

PostPosted: 22. February 2012 04:51
by Coastalguy
I am finding, on my XAMPP, that I get an error if I use a variable without setting it up first with something. However, I do not get an error online. I am using your version 5.3.8. My Provider's online version is 5.2.17.

Is this something new for this later XAMPP PHP version?

Re: Error if Variable not Pre-assigned

PostPosted: 22. February 2012 07:11
by Altrea
Hi Coastalguy,

Coastalguy wrote:Is this something new for this later XAMPP PHP version?

No. Your hoster (and many others) just set some configuration to prevent many support requests because of sloppy programming styles. They just hide such messages.
In your development environment you shouldn't hide such messages but get rid of all of them. Some sloppy programming styles can produce other errors or security issues.

best wishes,
Altrea

Re: Error if Variable not Pre-assigned

PostPosted: 22. February 2012 22:39
by Coastalguy
Althrea,

That's what I have been doing, but I was just curious if it was a version change or just my coding. Thanks again,