PHP 5 introduced the concept of exceptions, which already existed in other languages such as Java. Exceptions, in their simplest form, are a way of causing an error to occur, breaking the current flow of the code, and dropping immediately into an error handling section of the code itself.