dlf1987 Posted June 1, 2007 Share Posted June 1, 2007 Hi i added a email error reporter to my php pages, and i didnt receive any errors until i took of the line "if ($errno == E_USER_ERROR) {", then i received like 15 error emails. are error types other than "E_USER_ERROR" not important? if ($errno == E_USER_ERROR) { mail("xsupportx@pixeldecal.com", "Pixel Decal | Critical User Error", $err); } in like 13 of the emails, they were just saying that things werent defined... for example: undefined $example i guess that just means that $example had no value... is that bad? should everything have a default value? does those small errors slow down the php processing? does anything im saying make sense? lol Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/53887-undefined-error/ Share on other sites More sharing options...
dlf1987 Posted June 3, 2007 Author Share Posted June 3, 2007 please help ??? Quote Link to comment https://forums.phpfreaks.com/topic/53887-undefined-error/#findComment-267263 Share on other sites More sharing options...
per1os Posted June 3, 2007 Share Posted June 3, 2007 Its not too important, just would help with efficiency etc. Those are called notice errors for a reason, just to bring to your attention. Really it is no big deal, but a good idea to fix. Quote Link to comment https://forums.phpfreaks.com/topic/53887-undefined-error/#findComment-267264 Share on other sites More sharing options...
dlf1987 Posted June 3, 2007 Author Share Posted June 3, 2007 does it slow anything down by having those vars empty? Quote Link to comment https://forums.phpfreaks.com/topic/53887-undefined-error/#findComment-267273 Share on other sites More sharing options...
per1os Posted June 3, 2007 Share Posted June 3, 2007 Potentially yes, it is less efficient because it is producing a notice error. But in the long wrong it will slow you down like .001 seconds. Not a huge difference, now if you had like 100 of those errors or slow it would make a difference, but a few is nothing. If I were you I would fix it, but really no big deal. Quote Link to comment https://forums.phpfreaks.com/topic/53887-undefined-error/#findComment-267284 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.