1.2.190. Collect SetLocale¶
This rule collects the second argument to all the calls to setlocale(). This gives an overview of the which special locales are used in the code.
<?php
setlocale(LC_MONEY, 'nl_nl');
?>
1.2.190.1. Specs¶
Short name |
Dump/CollectSetLocale |
Rulesets |
|
Exakat since |
2.5.1 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
High |
Available in |