3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new \NumberFormatter("ro_RO", \NumberFormatter::CURRENCY); echo $a->formatCurrency(5673345.12345, "EUR");
based on CK38B
Output for 5.4.10 - 5.4.45, 5.6.0 - 7.3.1
5.673.345,12 EUR
Output for 5.3.20 - 5.3.29, 5.5.0 - 5.5.38
Fatal error: Class 'NumberFormatter' not found in /in/DEfCM on line 3
Process exited with code 255.