In a recent question I posted I describe how I developed a site on my local server and everything was working fine. Then after deploying it live I was getting errors because of the use of undefined variables. Mainly due to situations like the following...
if($var!=""){...}
I know I should use PHP strict and fix all of the errors based on the responses I got on my last question.
Now I want to know... why? What vulnerabilities may be created by leaving such code? I want to be able to justify to others why the errors need to be fixed.