Update 08-02-01-Errors.md

This commit is contained in:
Phil Sturgeon
2014-02-28 17:15:35 -05:00
parent 5a0bf8cb45
commit 73e738c0cc

View File

@@ -85,7 +85,7 @@ for the existence of the file before you try to load it, but if the file is dele
potentially something PHP should resolve, but is one case where error suppression might seem like the only valid potentially something PHP should resolve, but is one case where error suppression might seem like the only valid
solution. solution.
Earlier we mentioned there's no way in a stock PHP system to turn off the error control operator. However, [xDebug][xDebug] has an `xdebug.scream` ini setting which will disable the error control operator. You can set this via your `php.ini` file with the following. Earlier we mentioned there's no way in a stock PHP system to turn off the error control operator. However, [xDebug] has an `xdebug.scream` ini setting which will disable the error control operator. You can set this via your `php.ini` file with the following.
xdebug.scream = On xdebug.scream = On
@@ -102,8 +102,11 @@ This is most useful when you're debugging code and suspect an informative error
* [Error Control Operators](http://php.net/manual/en/language.operators.errorcontrol.php) * [Error Control Operators](http://php.net/manual/en/language.operators.errorcontrol.php)
* [SitePoint](http://www.sitepoint.com/) * [SitePoint](http://www.sitepoint.com/)
* [xDebug](http://xdebug.org/docs/basic) * [xDebug]
* [Scream](http://www.php.net/manual/en/book.scream.php) * [Scream]
[xDebug]: http://xdebug.org/docs/basic
[Scream]: http://www.php.net/manual/en/book.scream.php
### ErrorException ### ErrorException