3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $formatter = new NumberFormatter('da', NumberFormatter::SPELLOUT); $formatter->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-ordinal-neuter"); echo $formatter->format(1); ?>
based on lgeqS
Output for 5.6.0 - 7.3.0
første
Output for 5.3.19 - 5.3.29, 5.5.0 - 5.5.38
Fatal error: Class 'NumberFormatter' not found in /in/Zg9A5 on line 3
Process exited with code 255.
Output for 5.4.9 - 5.4.45
en