Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions 16_exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
/* ----------- Exceptions ----------- */

/*
PHP has an exception model similar to that of other programming languages. An exception can be thrown, and caught ("catched") within PHP. Code may be surrounded in a try block, to facilitate the catching of potential exceptions. Each try must have at least one corresponding catch or finally block.
PHP has an exception model similar to that of other programming languages.
An exception can be thrown, and caught ("catched") within PHP. Code may be surrounded in a try block, to facilitate the catching of potential exceptions.
Each try must have at least one corresponding catch or finally block.
*/

function inverse($x) {
Expand Down Expand Up @@ -42,4 +44,4 @@ function inverse($x) {
}


echo 'Hello World';
echo 'Hello World';