3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num = '9570.00'; $num = number_format($num - 5, 2, '.'), echo $num;
Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.24, 8.2.0 - 8.2.11
Parse error: syntax error, unexpected token "," in /in/ma7gO on line 4
Process exited with code 255.

preferences:
181.41 ms | 1008 KiB | 7 Q