3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $formatter = new NumberFormatter('ru', NumberFormatter::SPELLOUT); $formatter->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-cardinal"); echo $formatter->format(1000000000); ?>
based on TtTK5
Output for 5.6.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.2.0
один миллиард
Output for 5.5.0 - 5.5.38
Fatal error: Class 'NumberFormatter' not found in /in/WXk6E on line 3
Process exited with code 255.