Tracking PHP errors
track_errors provides the means to catch an error message emitted from PHP. It’s something I like to use during the development of various applications, or to get a handle on legacy code. Here are a few examples why! For example Imagine the following remote HTTP call: So whenever this call fails, it will return false and also emit an error message: Some people use @ to suppress this error message — an absolute no-go for reasons such as:...