3v4l.org

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