note 110713 added to language.exceptions
| From: | ian at ithomas dot name | Date: | Tue, 27 Nov 2012 15:25:28 +0000 |
| Subject: | note 110713 added to language.exceptions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192158@lists.php.net to get a copy of this message | ||
For the benefit of someone anyone who hasn't come across finally blocks before, the key
difference between them and normal code following a try/catch block is that they will be executed
even the try/catch block would return control to the calling function.
It might do this if:
* code if your try block contains an exception type that you don't catch
* you throw another exception in your catch block
* your try or catch block calls return
They are typically used to clean up after the try block, for example by removing temporary files.
----
Server IP: 69.147.83.199
Probable Submitter: 78.33.247.242
----
Manual Page -- http://www.php.net/manual/en/language.exceptions.php
Edit -- https://master.php.net/note/edit/110713
Del: integrated -- https://master.php.net/note/delete/110713/integrated
Del: useless -- https://master.php.net/note/delete/110713/useless
Del: bad code -- https://master.php.net/note/delete/110713/bad+code
Del: spam -- https://master.php.net/note/delete/110713/spam
Del: non-english -- https://master.php.net/note/delete/110713/non-english
Del: in docs -- https://master.php.net/note/delete/110713/in+docs
Del: other reasons-- https://master.php.net/note/delete/110713
Reject -- https://master.php.net/note/reject/110713
Search -- https://master.php.net/manage/user-notes.php