IT Community - Software Programming, Web Development and Technical Support

automatic error checking

This is a discussion on automatic error checking within the PHP Programming forums, part of the Web Development category; hi there, Can somebody please tell me if there is a way to edit the core to remove the automatic ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 09-25-2007, 12:50 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 325
amansundar is on a distinguished road
Default automatic error checking

hi there,

Can somebody please tell me if there is a way to edit the core to remove the automatic error checking? So that the parser won't look for errors and stuff and try to fix them ..I think that removing it could get rid of a lot of overhead but I don't know how.
__________________
cheers
Aman
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-25-2007, 08:31 AM
vijayanand vijayanand is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 293
vijayanand is on a distinguished road
Default Re: automatic error checking

Hi buddy,

We can turn off the error reporting in the following ways,

// Turn off all error reporting
error_reporting(0);

// Report simple running errors
error_reporting(E_ERROR | E_WARNING | E_PARSE);

// Reporting E_NOTICE can be good too (to report uninitialized
// variables or catch variable name misspellings ...)
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);

// Report all errors except E_NOTICE
// This is the default value set in php.ini
error_reporting(E_ALL ^ E_NOTICE);

// Report all PHP errors (bitwise 63 may be used in PHP 3)
error_reporting(E_ALL);

// Same as error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
__________________

J.Vijayanand
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic page adjustment question muthukumar HTML, CSS and Javascript Coding Techniques 0 07-17-2007 01:00 PM
Automatic page adjustment question muthukumar HTML, CSS and Javascript Coding Techniques 0 07-17-2007 12:59 PM
simple windows service to generate automatic mails kingmaker C# Programming 0 07-16-2007 12:04 AM
Network Connection Checking - Using API Karpagarajan VB.NET Programming 0 03-27-2007 03:02 PM
automatic dialer? roxyranelli The Lounge 0 03-12-2007 06:31 AM


All times are GMT -7. The time now is 05:02 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0