Jump to content

Switched to WamperServer 2 And generator errors


whiteboikyle

Recommended Posts

it ignored some errors
No it did not. The errors were simply not being displayed. Each line of your code that generates a error, even if the error is not displayed, takes at least 10 times longer to execute because php must still figure out what to do and to recover from the error.

 

Fix your code so that does not normally generate any errors during its normal execution. Your code will run faster and you won't be filling up your server's error log file.

 

Short open tags should also not be used because they result in code that won't work on some servers (which you just found out) and you won't always have the ability to change the setting that would allow them to work. php.net is also taking steps in php6 to generate error messages concerning using short open tags (i.e. second step toward eliminating them, the first step as you just found is for them to be off by default in current versions of php.)

Link to comment
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.