3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fmt = new NumberFormatter( 'de_DE', NumberFormatter::DECIMAL ); $fmt->format('1234567.891234567890000'); var_dump(numfmt_get_error_message($fmt)); ?>
Output for 7.3.0alpha1 - 7.3.0beta1
Fatal error: Uncaught Error: Class 'NumberFormatter' not found in /in/fl54V:2 Stack trace: #0 {main} thrown in /in/fl54V on line 2
Process exited with code 255.
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.2.6
string(12) "U_ZERO_ERROR"