3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $number = 1234.56; $nombre_format_francais = number_format($number,',','.'); // 1 234,56 echo $nombre_format_francais;
based on TIeHt
Output for 7.0.0 - 7.2.0
Warning: number_format() expects parameter 2 to be integer, string given in /in/b3hWd on line 6
Output for 5.3.21 - 5.6.28
Warning: number_format() expects parameter 2 to be long, string given in /in/b3hWd on line 6