3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $template = '<span class="product-price-%s">&euro; %0.2f</span>'; setlocale(LC_ALL, 'nl_NL@euro', 'nl_NL', 'nl'); echo sprintf($template, 'deal', 8.49);
Output for 4.3.0 - 7.2.0
<span class="product-price-deal">&euro; 8.49</span>