note 128119 added to language.exceptions
| From: | lscorionjs at gmail dot com | Date: | Mon, 16 Jan 2023 16:03:55 +0000 |
| Subject: | note 128119 added to language.exceptions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220074@lists.php.net to get a copy of this message | ||
<?php
try {
$str = 'hi';
throw new Exception();
} catch (Exception) {
var_dump($str);
} finally {
var_dump($str);
}
?>
Output:
string(2) "hi"
string(2) "hi"
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.158.213 (proxied: 93.148.108.233)
----
Manual Page -- https://php.net/manual/en/language.exceptions.php
Edit -- https://main.php.net/note/edit/128119
Del: integrated -- https://main.php.net/note/delete/128119/integrated
Del: useless -- https://main.php.net/note/delete/128119/useless
Del: bad code -- https://main.php.net/note/delete/128119/bad+code
Del: spam -- https://main.php.net/note/delete/128119/spam
Del: non-english -- https://main.php.net/note/delete/128119/non-english
Del: in docs -- https://main.php.net/note/delete/128119/in+docs
Del: other reasons-- https://main.php.net/note/delete/128119
Reject -- https://main.php.net/note/reject/128119
Search -- https://main.php.net/manage/user-notes.php