3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = NumberFormatter::create(101, NumberFormatter::DEFAULT_STYLE, null); $formatter->setAttribute(NumberFormatter::FRACTION_DIGITS, 2); print $formatter->format(doubleval("60.65"));

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.3.60.0160.00320.30
8.3.50.0110.00822.98
8.3.40.0120.00619.93
8.3.30.0120.00320.42
8.3.20.0080.00021.72
8.3.10.0060.00321.91
8.3.00.0030.00620.86
8.2.180.0080.01120.54
8.2.170.0070.01122.96
8.2.160.0140.00020.41
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0030.00623.60
8.2.110.0030.00722.93
8.2.100.0170.00921.22
8.2.90.0080.00020.61
8.2.80.0090.00319.25
8.2.70.0060.00319.22
8.2.60.0000.00819.55
8.2.50.0000.00819.38
8.2.40.0000.00819.84
8.2.30.0040.00420.95
8.2.20.0040.00419.54
8.2.10.0000.00819.65
8.2.00.0050.00319.45
8.1.280.0060.01225.92
8.1.270.0080.00023.45
8.1.260.0030.00526.35
8.1.250.0030.00528.09
8.1.240.0000.01024.31
8.1.230.0000.01119.58
8.1.220.0040.00419.39
8.1.210.0030.00618.98
8.1.200.0070.00318.98
8.1.190.0090.00018.97
8.1.180.0030.00518.85
8.1.170.0030.00520.10
8.1.160.0040.00423.29
8.1.150.0030.00520.08
8.1.140.0000.00819.07
8.1.130.0000.00719.48
8.1.120.0030.00519.40
8.1.110.0040.00419.03
8.1.100.0040.00419.30
8.1.90.0070.00019.43
8.1.80.0020.00519.11
8.1.70.0040.00419.38
8.1.60.0060.00319.53
8.1.50.0060.00319.48
8.1.40.0040.00419.50
8.1.30.0000.00919.60
8.1.20.0000.00819.49
8.1.10.0030.00519.51
8.1.00.0040.00419.32
8.0.300.0060.00318.77
8.0.290.0040.00418.63
8.0.280.0040.00419.84
8.0.270.0040.00418.89
8.0.260.0040.00418.97
8.0.250.0040.00318.66
8.0.240.0000.00718.70
8.0.230.0070.00018.63
8.0.220.0030.00318.46
8.0.210.0070.00018.60
8.0.200.0000.00718.47
8.0.190.0070.00018.52
8.0.180.0000.00718.55
8.0.170.0040.00418.56
8.0.160.0040.00418.60
8.0.150.0060.00318.40
8.0.140.0040.00418.59
8.0.130.0000.00513.30
8.0.120.0060.00318.70
8.0.110.0040.00418.76
8.0.100.0000.00718.92
8.0.90.0050.00218.66
8.0.80.0100.00718.84
8.0.70.0040.00418.92
8.0.60.0040.00418.73
8.0.50.0040.00418.57
8.0.30.0130.01119.26
8.0.20.0150.01218.87
8.0.10.0040.00418.98
8.0.00.0120.01118.47
7.4.330.0050.00015.00
7.4.320.0000.00618.45
7.4.300.0000.00618.46
7.4.290.0040.00418.23
7.4.280.0040.00418.37
7.4.270.0000.00718.33
7.4.260.0050.00318.34
7.4.250.0050.00318.32
7.4.240.0040.00418.40
7.4.230.0000.00718.22
7.4.220.0190.00618.33
7.4.210.0110.00418.39
7.4.200.0090.00018.43
7.4.160.0030.01318.31
7.4.150.0060.01318.55
7.4.140.0100.01318.33
7.4.130.0100.01318.24
7.4.120.0130.00518.28
7.4.110.0160.00818.14
7.4.100.0140.00518.41
7.4.90.0200.00618.29
7.4.80.0080.00819.37
7.4.70.0070.01018.21
7.4.60.0090.00618.33
7.4.50.0030.00618.39
7.4.40.0130.00318.16
7.4.30.0070.01018.42
7.4.00.0140.00316.51
7.3.330.0000.00513.15
7.3.320.0030.00313.00
7.3.310.0030.00318.06
7.3.300.0070.00018.19
7.3.290.0090.00618.24
7.3.280.0080.00818.08
7.3.270.0120.00618.19
7.3.260.0090.01018.41
7.3.250.0120.00918.29
7.3.240.0070.01418.14
7.3.230.0100.01318.25
7.3.210.0030.01318.12
7.3.200.0090.00919.39
7.3.190.0080.01118.04
7.3.180.0090.00618.39
7.3.170.0100.00718.18
7.3.160.0130.01018.32
7.3.120.0040.01116.72
7.3.110.0030.00716.68
7.3.100.0030.01216.57
7.3.90.0120.00016.30
7.3.80.0030.01016.35
7.3.70.0100.00716.46
7.3.60.0040.00416.88
7.3.50.0040.01116.79
7.3.40.0030.01316.66
7.3.30.0070.00716.73
7.3.20.0070.00318.14
7.3.10.0000.01418.13
7.3.00.0090.00618.02
7.2.330.0180.00618.14
7.2.320.0060.01118.11
7.2.310.0120.00918.29
7.2.300.0090.01218.61
7.2.290.0090.00918.31
7.2.240.0040.01116.69
7.2.230.0070.00716.47
7.2.220.0100.00316.58
7.2.210.0070.00716.92
7.2.200.0070.00416.44
7.2.190.0070.00416.78
7.2.180.0030.00616.63
7.2.170.0070.00416.31
7.2.160.0030.00716.61
7.2.150.0070.00418.29
7.2.140.0030.01418.32
7.2.130.0030.01318.51
7.2.120.0070.01018.63
7.2.110.0030.01218.46
7.2.100.0060.00918.37
7.2.90.0030.01318.53
7.2.80.0060.00918.52
7.2.70.0080.00818.59
7.2.60.0030.01118.65
7.2.50.0000.01218.53
7.2.40.0080.00418.56
7.2.30.0030.01218.46
7.2.20.0070.00718.48
7.2.10.0100.00318.59
7.2.00.0100.00520.02
7.1.330.0070.00717.52
7.1.320.0030.00917.48
7.1.310.0060.00817.50
7.1.300.0030.01517.32
7.1.290.0030.01017.34
7.1.280.0030.01317.13
7.1.270.0070.00717.39
7.1.260.0100.00317.56
7.1.250.0030.00817.33
7.1.200.0070.00017.47
7.1.100.0030.01019.89
7.1.70.0100.00619.35
7.1.60.0060.01919.32
7.1.50.0100.01318.92
7.1.00.0000.07724.44
7.0.200.0000.01018.53
7.0.140.0100.06723.87
7.0.60.0070.08321.69
7.0.50.0070.08717.82
7.0.40.0100.08721.94
7.0.30.0330.03721.68
7.0.20.0230.05021.79
7.0.10.0030.04721.88
7.0.00.0130.07721.78
5.6.280.0030.07323.06
5.6.210.0100.07022.33
5.6.200.0100.07718.21
5.6.190.0070.06322.09
5.6.180.0430.06722.13
5.6.170.0100.04722.10
5.6.160.0000.06022.17
5.6.150.0030.04018.18
5.6.140.0130.03018.21
5.6.130.0070.08318.11
5.6.120.0000.08022.52
5.6.110.0200.05722.64
5.6.100.0170.06022.89
5.6.90.0100.07722.88
5.6.80.0130.07022.18
5.5.350.0100.08022.10
5.5.340.0070.03717.92
5.5.330.0070.07721.77
5.5.320.0230.07722.10
5.5.310.0100.05321.80
5.5.300.0070.07318.01
5.5.290.0100.08017.88
5.5.280.0030.08722.51
5.5.270.0030.04322.63
5.5.260.0100.08322.50
5.5.250.0100.08022.27
5.5.240.0130.05021.85
5.4.450.1270.02321.09
5.4.440.0770.05721.23
5.4.430.1070.05021.23
5.4.420.0670.00021.05
5.4.410.0630.00021.09
5.4.400.0700.00020.86
5.4.390.0630.00020.61
5.4.380.0530.05720.19
5.4.370.0400.05320.48
5.4.360.0370.05020.30
5.4.350.0400.06020.23
5.4.340.0300.06320.48
5.4.320.0070.03912.45
5.4.310.0060.03912.45
5.4.300.0060.03612.45
5.4.290.0090.04612.45
5.4.280.0090.03712.35
5.4.270.0060.03512.35
5.4.260.0080.04312.35
5.4.250.0090.03412.35
5.4.240.0080.03912.35
5.4.230.0030.04012.34
5.4.220.0040.03612.34
5.4.210.0050.03412.34
5.4.200.0090.03312.34
5.4.190.0050.03612.34
5.4.180.0030.03812.34
5.4.170.0060.03612.35
5.4.160.0020.03912.34
5.4.150.0030.03812.34
5.4.140.0090.03412.03
5.4.130.0030.03812.02
5.4.120.0030.03811.97
5.4.110.0040.03911.97
5.4.100.0050.03611.96
5.4.90.0070.03511.97
5.4.80.0050.03711.96
5.4.70.0070.03311.96
5.4.60.0090.03111.96
5.4.50.0060.04011.96
5.4.40.0060.03411.95
5.4.30.0070.03511.95
5.4.20.0080.03311.95
5.4.10.0050.03611.95
5.4.00.0070.03611.45
5.3.290.0070.04512.80
5.3.280.0080.03912.71
5.3.270.0040.04112.72
5.3.260.0060.04012.72
5.3.250.0070.03712.72
5.3.240.0060.03812.72
5.3.230.0070.03912.71
5.3.220.0080.03612.68
5.3.210.0030.04112.68
5.3.200.0060.03612.68
5.3.190.0080.03512.68
5.3.180.0060.03612.67
5.3.170.0060.04212.67
5.3.160.0070.03912.67
5.3.150.0090.03812.67
5.3.140.0080.04312.66
5.3.130.0050.03912.66
5.3.120.0040.04112.66
5.3.110.0050.03912.65
5.3.100.0070.03512.12
5.3.90.0030.03912.08
5.3.80.0030.03812.07
5.3.70.0070.03412.07
5.3.60.0080.03612.06
5.3.50.0070.03712.00
5.3.40.0050.03712.00
5.3.30.0050.03611.95
5.3.20.0060.03411.73
5.3.10.0100.03511.70
5.3.00.0080.03311.68
5.2.170.0040.0379.18
5.2.160.0060.0279.18
5.2.150.0030.0319.18
5.2.140.0050.0299.18
5.2.130.0070.0349.13
5.2.120.0050.0379.14
5.2.110.0050.0309.14
5.2.100.0060.0279.14
5.2.90.0040.0309.14
5.2.80.0060.0309.14
5.2.70.0060.0319.14
5.2.60.0030.0359.09
5.2.50.0050.0309.06
5.2.40.0080.0289.04
5.2.30.0070.0299.02
5.2.20.0070.0319.00
5.2.10.0070.0268.92
5.2.00.0040.0378.78
5.1.60.0060.0238.07
5.1.50.0060.0308.06
5.1.40.0040.0308.05
5.1.30.0050.0308.39
5.1.20.0020.0308.42
5.1.10.0060.0288.14
5.1.00.0040.0298.14
5.0.50.0060.0216.62
5.0.40.0040.0196.48
5.0.30.0030.0326.29
5.0.20.0010.0226.26
5.0.10.0020.0216.24
5.0.00.0030.0306.23
4.4.90.0040.0194.78
4.4.80.0040.0144.75
4.4.70.0040.0204.75
4.4.60.0010.0174.76
4.4.50.0030.0184.77
4.4.40.0060.0284.70
4.4.30.0030.0154.76
4.4.20.0020.0164.84
4.4.10.0030.0164.85
4.4.00.0030.0244.76
4.3.110.0040.0164.67
4.3.100.0020.0154.66
4.3.90.0050.0164.63
4.3.80.0030.0234.58
4.3.70.0020.0174.63
4.3.60.0030.0184.63
4.3.50.0020.0164.63
4.3.40.0020.0254.54
4.3.30.0020.0193.29
4.3.20.0020.0163.27
4.3.10.0040.0133.22
4.3.00.0000.01715.62

preferences:
37.37 ms | 401 KiB | 5 Q