3v4l.org

run code in 300+ PHP versions simultaneously
<?php $locale = 'ru_RU'; putenv("LANG=$locale" . '.UTF-8'); putenv("LANGUAGE=$locale" . '.UTF-8'); setlocale(LC_ALL, $locale . '.UTF-8'); // . '.UTF-8' $arr = array(12.12,12,23,21.44,67.88); print_r(implode(',', $arr));

preferences:
38.8 ms | 402 KiB | 5 Q