1.2.511. Goto Names¶
This rule lists of all goto labels used in the code. The labels must match a goto call, although it is possible to create a label without a goto.
<?php
GOTO_NAME_1:
// reports the usage of GOTO_NAME_1
goto GOTO_NAME_1;
UNUSED_GOTO_NAME_1:
?>
See also goto.
1.2.511.1. Connex PHP features¶
1.2.511.1.1. Specs¶
Short name |
Php/Gotonames |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
ClearPHP |
|
Available in |