3v4l.org

run code in 200+ PHP versions simultaneously
<?php $fmt = numfmt_create('en_US', NumberFormatter::TYPE_CURRENCY ); echo numfmt_format_currency($fmt, 32.00, "USD")."\n";
based on 4luul
Output for 7.1.0 - 7.4.6
3.2E1