3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = 1234.56; $english_format_number = number_format($number); echo $english_format_number
Output for 5.4.20
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/BMhcE on line 5
Process exited with code 255.
Output for 5.4.0 - 5.4.19
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/H3rZ4 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/H3rZ4 on line 5
Process exited with code 255.

preferences:
170.91 ms | 1395 KiB | 56 Q