3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $price = 123456.33; echo '<div style="width: 20px;">', number_format($price, 0, ',', ' '), '</div>';
Output for 5.4.0 - 7.1.0
<div style="width: 20px;">123 456</div>
Output for 4.4.1 - 4.4.9, 5.0.5 - 5.3.29
<div style="width: 20px;">123�456</div>
Output for 4.3.0 - 4.4.0, 5.0.0 - 5.0.4
<div style="width: 20px;">123,456</div>