1.2.1227. Try With Finally¶
Indicates if a try use a finally statement.
<?php
try {
$a = doSomething();
} catch (Throwable $e) {
// Fix the problem
} finally {
// remove $a anyway
unset($a);
}
?>
See also Exceptions.
1.2.1227.1. Connex PHP features¶
1.2.1227.1.1. Specs¶
Short name |
Structures/TryFinally |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
With PHP 5.5 and more recent |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |