3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fmt = numfmt_create( 'de_DE', NumberFormatter::DECIMAL ); echo numfmt_format($fmt, 5.656)."\n"; $fmt = numfmt_create( 'it', NumberFormatter::SPELLOUT ); echo numfmt_format($fmt, 1142)."\n";
based on C4h8e
Output for 7.3.0alpha1 - 7.3.0beta1
Fatal error: Uncaught Error: Call to undefined function numfmt_create() in /in/eI1G1:2 Stack trace: #0 {main} thrown in /in/eI1G1 on line 2
Process exited with code 255.
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.2.6
5,656 mille­cento­quaranta­due