1.2.477. Foreach() Favorite¶
Collect the name used in foreach() loops. Then, sorts them in order of popularity.
<?php
// collect $k, $v
foreach($array as $k => $v) { }
// collect $k, $v1, $v2
foreach($array as $k => [$v1, $v2]) { }
?>
1.2.477.1. Connex PHP features¶
1.2.477.1.1. Specs¶
Short name |
Dump/CollectForeachFavorite |
Rulesets |
|
Exakat since |
1.9.7 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
Very high |
Available in |