3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = 1234,5678; // english notation without thousands separator $english_format_number = number_format($number, 2, '.', ''); // 1234.57
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
Parse error: syntax error, unexpected ',' in /in/CV7NE on line 3
Process exited with code 255.

preferences:
192.84 ms | 1399 KiB | 62 Q