3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $formatter2 = new NumberFormatter('en', NumberFormatter::SPELLOUT); $formatter2->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-cardinal"); echo $formatter2->format(99999999999999999); ?>
based on FNp34
Output for 5.4.9 - 5.4.45, 5.6.0 - 7.3.1
ninety-nine quadrillion
Output for 5.3.19 - 5.3.29, 5.5.0 - 5.5.38
Fatal error: Class 'NumberFormatter' not found in /in/MT6LW on line 2
Process exited with code 255.