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

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.250.0100.04719.00
5.4.240.0130.08718.94
5.4.230.0070.05318.74
5.4.220.0170.04318.79
5.4.210.0130.04718.76
5.4.200.0030.05318.96
5.4.190.0030.05318.99
5.4.180.0170.04319.00
5.4.170.0170.06719.08
5.4.160.0070.05018.95
5.4.150.0070.05718.93
5.4.140.0070.07016.34
5.4.130.0030.05716.50
5.4.120.0000.05716.36
5.4.110.0070.05316.41
5.4.100.0100.05716.48
5.4.90.0100.04316.34
5.4.80.0030.05016.45
5.4.70.0170.04016.47
5.4.60.0100.04316.59
5.4.50.0130.04316.54
5.4.40.0070.05016.43
5.4.30.0000.07016.58
5.4.20.0130.05016.62
5.4.10.0030.05316.53
5.4.00.0000.05715.78
5.3.280.0000.05714.51
5.3.270.0100.06014.63
5.3.260.0070.05314.63
5.3.250.0100.04314.62
5.3.240.0100.06714.62
5.3.230.0170.04314.52
5.3.220.0100.04714.66
5.3.210.0130.04714.34
5.3.200.0030.05314.40
5.3.190.0130.06314.44
5.3.180.0100.05014.48
5.3.170.0000.05314.58
5.3.160.0070.05314.34
5.3.150.0130.05014.66
5.3.140.0000.05714.60
5.3.130.0070.05314.54
5.3.120.0030.05314.46
5.3.110.0070.06714.60
5.3.100.0000.05713.88
5.3.90.0100.04313.87
5.3.80.0100.06314.05
5.3.70.0100.04714.03
5.3.60.0000.05713.89
5.3.50.0170.03713.84
5.3.40.0170.04013.96
5.3.30.0000.05313.92
5.3.20.0100.04713.46
5.3.10.0130.05313.64
5.3.00.0000.05313.53

preferences:
139.07 ms | 1394 KiB | 7 Q