Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/53887-undefined-error/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/53887-undefined-error/#findComment-267284
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.