mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-08 06:56:33 +02:00
Update 08-02-01-Errors.md
This commit is contained in:
@@ -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
|
||||
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
|
||||
|
||||
@@ -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)
|
||||
* [SitePoint](http://www.sitepoint.com/)
|
||||
* [xDebug](http://xdebug.org/docs/basic)
|
||||
* [Scream](http://www.php.net/manual/en/book.scream.php)
|
||||
* [xDebug]
|
||||
* [Scream]
|
||||
|
||||
[xDebug]: http://xdebug.org/docs/basic
|
||||
[Scream]: http://www.php.net/manual/en/book.scream.php
|
||||
|
||||
### ErrorException
|
||||
|
||||
|
Reference in New Issue
Block a user