3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php setlocale(LC_MONETARY, 'en_GB'); $fmt = 'The final value is %i (after a 10%% discount)'; echo money_format($fmt, 1234.56) . "\n";
Output for 4.3.0 - 7.1.0
The final value is 1234.56 (after a 10% discount)