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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| 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 |
| Sponsored Links |
| |||
| 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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 |