I'm diagnosing some user problems with German locales. Running
php -r "setlocale(LC_ALL, array('de_DE','deu_deu)); echo 10.01;"
gives
10.01
Running
<?php
echo(setlocale(LC_ALL,array('de_DE','deu_deu')));
echo 10.01;
via WAMP stack gives
German_Germany.1252 10,01
This shows that locale is active and the decimal_point has changed.
Is it a known restricting that setlocale
doesn't work in CLI?