3v4l.org

run code in 300+ PHP versions simultaneously
<?php $digit = 12433.23; echo number_format($digit,5);

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)
8.0.30.0080.01317.06
8.0.20.0140.00717.40
8.0.00.0120.00716.70
7.4.150.0070.01017.40
7.4.140.0110.00717.86
7.4.130.0090.00716.52
7.4.120.0090.00916.64
7.4.110.0110.00616.64
7.4.100.0130.00316.30
7.4.90.0070.01016.54
7.4.80.0150.00616.60
7.4.70.0110.00616.56
7.4.60.0030.01516.41
7.4.50.0060.00316.60
7.4.40.0060.00622.77
7.4.30.0040.01216.38
7.4.00.0000.00815.00
7.3.270.0110.00917.40
7.3.260.0060.01216.34
7.3.250.0090.00816.30
7.3.240.0050.01116.13
7.3.230.0070.01016.39
7.3.210.0150.00616.29
7.3.200.0110.01119.39
7.3.190.0110.00816.39
7.3.180.0100.00616.39
7.3.170.0030.01316.27
7.3.160.0110.01116.07
7.3.120.0040.01114.66
7.2.330.0040.01316.39
7.2.320.0100.00716.64
7.2.310.0130.00916.37
7.2.300.0130.00316.64
7.2.290.0060.00916.40
7.2.60.0000.01316.95
7.1.200.0100.00515.42
7.1.70.0030.00316.95
7.1.60.0090.01319.32
7.1.50.0030.01316.72
7.1.00.0000.08022.34
7.0.200.0100.00316.46
7.0.140.0030.07021.95
7.0.110.0030.07720.02
7.0.100.0130.03720.08
7.0.90.0030.04720.01
7.0.80.0030.04320.07
7.0.70.0130.07019.95
7.0.60.0030.05720.02
7.0.50.0100.06019.87
7.0.40.0100.03319.87
7.0.30.0100.05019.65
7.0.20.0030.08719.87
7.0.10.0070.06719.58
7.0.00.0030.07019.88
5.6.280.0000.07721.14
5.6.260.0070.04020.70
5.6.250.0130.04320.72
5.6.240.0170.07320.63
5.6.230.0130.07020.63
5.6.220.0070.07020.62
5.6.210.0100.03720.75
5.6.200.0070.05720.62
5.6.190.0070.06320.70
5.6.180.0130.07720.69
5.6.170.0130.07020.57
5.6.160.0100.08020.85
5.6.150.0030.04020.64
5.6.140.0000.05320.64
5.6.130.0100.03320.57
5.6.120.0030.07720.64
5.6.110.0030.06320.81
5.6.100.0000.04720.63
5.6.90.0030.08320.55
5.6.80.0100.03020.02
5.6.70.0030.08019.99
5.6.60.0070.04319.93
5.6.50.0030.04019.96
5.6.40.0030.04020.01
5.6.30.0030.04319.97
5.6.20.0130.05320.03
5.6.10.0000.08719.96
5.6.00.0130.06319.86
5.5.380.0070.04017.55
5.5.370.0030.04717.46
5.5.360.0070.09317.45
5.5.350.0030.07717.59
5.5.340.0000.04318.16
5.5.330.0100.04317.73
5.5.320.0100.07018.26
5.5.310.0070.07318.02
5.5.300.0070.03718.00
5.5.290.0070.06018.02
5.5.280.0100.07717.86
5.5.270.0070.07317.75
5.5.260.0100.07017.85
5.5.250.0100.06317.66
5.5.240.0030.06717.65
5.5.230.0030.07017.24
5.5.220.0030.08317.22
5.5.210.0100.07017.63
5.5.200.0130.04017.14
5.5.190.0070.07317.20
5.5.180.0030.04317.21
5.5.160.0030.06717.51
5.5.150.0030.04717.27
5.5.140.0030.04017.19
5.5.130.0070.07017.33
5.5.120.0100.07317.36
5.5.110.0030.04717.20
5.5.100.0130.06317.15
5.5.90.0070.05317.41
5.5.80.0170.05717.10
5.5.70.0030.04017.13
5.5.60.0100.06717.36
5.5.50.0100.05317.36
5.5.40.0000.07317.08
5.5.30.0030.03717.22
5.5.20.0000.04717.44
5.5.10.0000.04017.36
5.5.00.0070.04017.10
5.4.450.0030.04319.52
5.4.440.0130.08019.32
5.4.430.0070.03719.48
5.4.420.0070.07019.37
5.4.410.0070.08319.39
5.4.400.0030.07319.08
5.4.390.0030.03719.17
5.4.380.0030.07719.09
5.4.370.0030.03719.07
5.4.360.0030.03719.00
5.4.350.0070.03719.03
5.4.340.0070.07319.05
5.4.320.0100.07319.07
5.4.310.0170.06719.09
5.4.300.0100.06319.04
5.4.290.0170.06319.08
5.4.280.0070.07719.11
5.4.270.0030.07319.04
5.4.260.0170.06719.11
5.4.250.0070.07319.04
5.4.240.0030.05019.07
5.4.230.0070.06719.00
5.4.220.0030.04019.07
5.4.210.0070.04319.11
5.4.200.0030.07019.08
5.4.190.0030.07718.98
5.4.180.0070.03319.01
5.4.170.0100.06319.07
5.4.160.0000.04018.99
5.4.150.0000.07319.04
5.4.140.0100.06016.49
5.4.130.0030.03316.45
5.4.120.0130.04716.36
5.4.110.0070.07716.44
5.4.100.0070.06316.35
5.4.90.0030.06316.36
5.4.80.0070.06316.49
5.4.70.0000.05316.51
5.4.60.0030.03716.32
5.4.50.0030.05016.41
5.4.40.0030.06716.27
5.4.30.0130.06716.26
5.4.20.0070.03016.50
5.4.10.0070.07316.44
5.4.00.0070.07315.67
5.3.290.0070.04314.66
5.3.280.0030.05714.59
5.3.270.0100.07014.50
5.3.260.0030.07314.59
5.3.250.0100.05314.68
5.3.240.0000.04314.45
5.3.230.0000.05014.44
5.3.220.0030.03714.64
5.3.210.0030.03714.64
5.3.200.0070.06014.60
5.3.190.0030.03714.70
5.3.180.0030.03314.56
5.3.170.0070.03314.70
5.3.160.0000.05014.68
5.3.150.0100.03014.68
5.3.140.0100.04014.43
5.3.130.0000.03714.64
5.3.120.0030.06014.40
5.3.110.0070.07314.39
5.3.100.0000.03714.02
5.3.90.0100.03014.09
5.3.80.0100.06014.11
5.3.70.0070.06313.94
5.3.60.0070.06313.88
5.3.50.0030.06014.00
5.3.40.0030.07313.84
5.3.30.0030.06013.76
5.3.20.0030.07013.51
5.3.10.0070.05013.67
5.3.00.0070.05313.49
5.2.170.0030.05012.06
5.2.160.0000.03312.06
5.2.150.0130.05312.06
5.2.140.0070.06312.06
5.2.130.0070.05312.06
5.2.120.0070.06012.06
5.2.110.0070.06012.06
5.2.100.0030.05712.06
5.2.90.0070.05712.06
5.2.80.0100.06012.06
5.2.70.0030.05712.06
5.2.60.0130.03012.06
5.2.50.0030.03712.06
5.2.40.0070.03012.06
5.2.30.0030.03012.06
5.2.20.0000.03712.06
5.2.10.0030.04712.06
5.2.00.0030.02712.06
5.1.60.0030.04012.06
5.1.50.0070.02712.06
5.1.40.0000.03012.06
5.1.30.0030.03312.06
5.1.20.0030.03312.06
5.1.10.0030.04012.06
5.1.00.0030.02312.06
5.0.50.0000.03712.06
5.0.40.0000.02712.06
5.0.30.0030.06312.06
5.0.20.0000.03712.06
5.0.10.0000.03712.06
5.0.00.0000.06012.06
4.4.90.0030.02712.06
4.4.80.0030.01712.06
4.4.70.0000.02712.06
4.4.60.0000.02012.06
4.4.50.0030.03312.06
4.4.40.0070.02012.06
4.4.30.0030.03012.06
4.4.20.0030.01312.06
4.4.10.0030.01312.06
4.4.00.0030.02312.06
4.3.110.0000.02012.06
4.3.100.0070.01712.06
4.3.90.0000.01712.06
4.3.80.0000.05312.06
4.3.70.0070.02712.06
4.3.60.0000.03712.06
4.3.50.0030.01712.06
4.3.40.0030.04712.06
4.3.30.0000.02712.06
4.3.20.0030.01712.06
4.3.10.0000.02712.06
4.3.00.0000.03012.06