3v4l.org

run code in 500+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('en', NumberFormatter::SPELLOUT); $formatter->setTextAttribute(NumberFormatter::DEFAULT_RULESET, "%spellout-cardinal"); echo $formatter->format(999899999999999999);
Output for master
Fatal error: Uncaught Error: Class "NumberFormatter" not found in /in/YXU5d:2 Stack trace: #0 {main} thrown in /in/YXU5d on line 2
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
13.24 ms | 1182 KiB | 7 Q