 |
|
Innovation award
 Nominee: 2x
Winner: 1x |
This package can throw exceptions when PHP warnings are triggered.
It registers a PHP error handler that throws special exception classes when a PHP warning or notice is triggered.
The exception messages display the file name and line of the PHP code where the warnings or notices were triggered.
|
|
| Name: |
Handling Notice and Warning as Exception |
| Base name: |
nwexceptions |
| Description: |
Throw exceptions when PHP warnings are triggered |
| Version: |
0.1 |
| PHP version: |
5.0 |
| License: |
GNU Lesser General Public License (LGPL) |
| All time users: |
791 users |
| All time rank: |
3769 |
| Week users: |
2 users |
| Week rank: |
1296  |
| |
|
 June 2011
Number 2 |
In PHP, when a non-fatal error occurs, PHP issues a notice or a warning but continues to execute the code regularly as if nothing happened, so certain problems may occur due to unhandled errors.
This class implements a solution that allows you to prevent that those problems happen by throwing an exception when a notice or a warning is issued.
Manuel Lemos |
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|