3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(setlocale(LC_MONETARY, 'de_DE')); var_dump(money_format('%=*^-14#8.2i', 234568)); // outputs "**234568.00" var_dump(setlocale(LC_MONETARY, 'de_ZA')); var_dump(money_format('%=*^-14#8.2i', 2334)); // outputs "****2334.00"
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(false) string(14) " **234568.00 " bool(false) string(14) " ****2334.00 "
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/M5H9e on line 8
Process exited with code 255.