<?php
$fmt = numfmt_create( 'tr_TR', NumberFormatter::CURRENCY );
echo numfmt_format_currency($fmt, 1234567.891234567890000, "EUR")."\n";
echo numfmt_format_currency($fmt, 1234567.891234567890000, "TRL")."\n";
echo numfmt_format_currency($fmt, 1234567.891234567890000, "YTL")."\n\n";
$fmt = numfmt_create( 'de_DE', NumberFormatter::CURRENCY );
echo numfmt_format_currency($fmt, 1234567.891234567890000, "EUR")."\n";
echo numfmt_format_currency($fmt, 1234567.891234567890000, "TRL")."\n";
echo numfmt_format_currency($fmt, 1234567.891234567890000, "TRY")."\n";
?>