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(65.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.0120.00420.18
8.3.50.0090.01022.99
8.3.40.0180.00319.99
8.3.30.0000.01620.46
8.3.20.0040.00421.56
8.3.10.0000.00921.53
8.3.00.0000.00821.00
8.2.180.0060.01020.15
8.2.170.0090.01222.96
8.2.160.0150.00021.56
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0030.00626.16
8.2.120.0090.00023.45
8.2.110.0030.00622.83
8.2.100.0150.00019.37
8.2.90.0000.00820.50
8.2.80.0000.00819.00
8.2.70.0030.00619.25
8.2.60.0050.00319.55
8.2.50.0060.00319.38
8.2.40.0000.00819.97
8.2.30.0030.00520.98
8.2.20.0000.00819.39
8.2.10.0000.00919.72
8.2.00.0050.00319.22
8.1.280.0090.00625.92
8.1.270.0050.00325.41
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.45
8.1.230.0120.00020.30
8.1.220.0040.00419.30
8.1.210.0030.00618.98
8.1.200.0090.00018.85
8.1.190.0000.00818.85
8.1.180.0040.00419.18
8.1.170.0060.00320.33
8.1.160.0030.00523.34
8.1.150.0080.00020.22
8.1.140.0090.00019.00
8.1.130.0070.00019.44
8.1.120.0050.00319.31
8.1.110.0000.00719.38
8.1.100.0070.00019.00
8.1.90.0000.00919.34
8.1.80.0000.00819.41
8.1.70.0040.00419.32
8.1.60.0060.00319.47
8.1.50.0000.00819.43
8.1.40.0050.00319.45
8.1.30.0000.00919.56
8.1.20.0060.00319.60
8.1.10.0040.00419.17
8.1.00.0000.00819.03
8.0.300.0040.00419.54
8.0.290.0050.00318.38
8.0.280.0070.00019.83
8.0.270.0000.00818.92
8.0.260.0000.00918.98
8.0.250.0000.00718.71
8.0.240.0000.00718.64
8.0.230.0000.00718.70
8.0.220.0000.00718.40
8.0.210.0000.00818.59
8.0.200.0030.00318.53
8.0.190.0070.00018.68
8.0.180.0040.00418.64
8.0.170.0000.00918.64
8.0.160.0040.00418.48
8.0.150.0040.00418.50
8.0.140.0060.00318.42
8.0.130.0030.00313.25
8.0.120.0040.00418.41
8.0.110.0080.00018.64
8.0.100.0000.00718.50
8.0.90.0040.00418.85
8.0.80.0150.00818.86
8.0.70.0070.00018.72
8.0.60.0000.00818.79
8.0.50.0030.00618.78
8.0.30.0090.01018.80
8.0.20.0150.00518.88
8.0.10.0050.00318.82
8.0.00.0120.00918.57
7.4.330.0050.00015.02
7.4.320.0030.00318.40
7.4.300.0070.00018.36
7.4.290.0040.00318.44
7.4.280.0030.00518.37
7.4.270.0000.00718.48
7.4.260.0000.00818.46
7.4.250.0000.00818.46
7.4.240.0040.00418.48
7.4.230.0070.00018.21
7.4.220.0150.00618.45
7.4.210.0070.01318.47
7.4.200.0030.00618.51
7.4.160.0090.00918.25
7.4.150.0070.01418.26
7.4.140.0080.01118.37
7.4.130.0070.01018.13
7.4.120.0080.00918.20
7.4.110.0060.01318.34
7.4.100.0130.01318.54
7.4.90.0100.01018.26
7.4.80.0120.00819.37
7.4.70.0050.01218.31
7.4.60.0100.00618.32
7.4.50.0080.00018.10
7.4.40.0090.00918.15
7.4.30.0130.00318.11
7.4.00.0070.01016.47
7.3.330.0030.00313.19
7.3.320.0030.00313.18
7.3.310.0060.00318.12
7.3.300.0040.00418.16
7.3.290.0060.01318.14
7.3.280.0080.00918.04
7.3.270.0220.00318.21
7.3.260.0120.00718.35
7.3.250.0120.00918.19
7.3.240.0110.00718.41
7.3.230.0090.00918.20
7.3.210.0070.01018.10
7.3.200.0130.00319.39
7.3.190.0060.01018.27
7.3.180.0100.00618.34
7.3.170.0070.01118.36
7.3.160.0150.00918.19
7.2.330.0070.01118.59
7.2.320.0110.00718.64
7.2.310.0180.00018.46
7.2.300.0050.01418.57
7.2.290.0090.01318.43
7.2.60.0200.00018.09
7.2.00.0060.01121.51
7.1.200.0040.01117.42
7.1.100.0080.01220.31
7.1.70.0100.00618.64
7.1.60.0030.02119.39
7.1.50.0110.01118.82
7.1.00.0000.08324.35
7.0.200.0000.00918.72
7.0.140.0000.07024.01
7.0.60.0030.05321.61
7.0.50.0030.08717.80
7.0.40.0130.05021.84
7.0.30.0170.04321.84
7.0.20.0270.08021.78
7.0.10.0030.09021.84
7.0.00.0070.08321.89
5.6.280.0000.10022.93
5.6.210.0100.08322.24
5.6.200.0100.03718.21
5.6.190.0030.06322.09
5.6.180.0370.05022.21
5.6.170.0330.07022.17
5.6.160.0030.04321.96
5.6.150.0070.04318.07
5.6.140.0000.05018.21
5.6.130.0030.06718.10
5.6.120.0170.07322.51
5.6.110.0130.08022.95
5.6.100.0130.07323.02
5.6.90.0230.06722.94
5.6.80.0100.03722.01
5.5.350.0330.06022.34
5.5.340.0000.04017.91
5.5.330.0070.08721.92
5.5.320.0270.04322.08
5.5.310.0230.03722.10
5.5.300.0100.07717.94
5.5.290.0070.04717.99
5.5.280.0130.05022.34
5.5.270.0070.03722.40
5.5.260.0100.08022.48
5.5.250.0200.06322.15
5.5.240.0070.04021.89
5.4.450.0570.04720.91
5.4.440.1200.05720.99
5.4.430.1100.06720.99
5.4.420.0730.00021.12
5.4.410.0670.00021.16
5.4.400.0630.00020.80
5.4.390.0630.00020.68
5.4.380.0300.06320.48
5.4.370.0430.05720.25
5.4.360.0830.06320.54
5.4.350.0500.05320.48
5.4.340.0470.05720.34
5.4.320.0040.04712.45
5.4.310.0060.03712.45
5.4.300.0070.03412.46
5.4.290.0100.03412.45
5.4.280.0070.03312.35
5.4.270.0080.03412.35
5.4.260.0080.03612.35
5.4.250.0100.04412.35
5.4.240.0070.03612.35
5.4.230.0070.03712.34
5.4.220.0060.03712.34
5.4.210.0090.03912.34
5.4.200.0040.03912.34
5.4.190.0050.03512.34
5.4.180.0050.03512.34
5.4.170.0080.03412.35
5.4.160.0050.03612.34
5.4.150.0090.03212.34
5.4.140.0050.03812.02
5.4.130.0040.03612.02
5.4.120.0060.03411.97
5.4.110.0080.03311.97
5.4.100.0080.03411.96
5.4.90.0030.04311.97
5.4.80.0030.03911.96
5.4.70.0050.03611.96
5.4.60.0060.03411.96
5.4.50.0060.03511.96
5.4.40.0060.03411.95
5.4.30.0060.03611.95
5.4.20.0070.04111.95
5.4.10.0080.04211.95
5.4.00.0050.04111.45
5.3.290.0050.04012.80
5.3.280.0070.04712.71
5.3.270.0100.03612.72
5.3.260.0040.04112.72
5.3.250.0080.03412.72
5.3.240.0050.03712.72
5.3.230.0040.03912.71
5.3.220.0040.04912.68
5.3.210.0050.04012.68
5.3.200.0020.04012.68
5.3.190.0060.03912.68
5.3.180.0080.03312.67
5.3.170.0060.03612.67
5.3.160.0060.03612.68
5.3.150.0050.03812.67
5.3.140.0060.03612.66
5.3.130.0050.03812.66
5.3.120.0040.03912.66
5.3.110.0060.03812.66
5.3.100.0070.03612.12
5.3.90.0060.03612.08
5.3.80.0020.04212.07
5.3.70.0040.03812.07
5.3.60.0080.03412.06
5.3.50.0090.04312.00
5.3.40.0050.03612.00
5.3.30.0030.03711.95
5.3.20.0040.03611.72
5.3.10.0080.03111.69
5.3.00.0040.03811.68
5.2.170.0050.0319.18
5.2.160.0040.0309.18
5.2.150.0040.0309.18
5.2.140.0040.0349.18
5.2.130.0050.0289.14
5.2.120.0060.0299.14
5.2.110.0090.0269.15
5.2.100.0060.0269.14
5.2.90.0040.0299.14
5.2.80.0050.0299.14
5.2.70.0050.0299.14
5.2.60.0050.0299.09
5.2.50.0060.0279.06
5.2.40.0040.0289.04
5.2.30.0100.0329.02
5.2.20.0050.0289.00
5.2.10.0060.0268.92
5.2.00.0050.0298.78
5.1.60.0030.0258.07
5.1.50.0060.0228.06
5.1.40.0050.0238.04
5.1.30.0050.0258.39
5.1.20.0040.0278.42
5.1.10.0030.0278.14
5.1.00.0060.0248.14
5.0.50.0050.0196.62
5.0.40.0020.0206.48
5.0.30.0010.0336.29
5.0.20.0030.0196.28
5.0.10.0010.0216.27
5.0.00.0030.0316.26
4.4.90.0020.0154.78
4.4.80.0040.0134.76
4.4.70.0020.0164.75
4.4.60.0010.0174.76
4.4.50.0030.0154.77
4.4.40.0020.0264.71
4.4.30.0000.0184.76
4.4.20.0020.0164.85
4.4.10.0030.0204.85
4.4.00.0040.0244.76
4.3.110.0040.0144.67
4.3.100.0030.0144.67
4.3.90.0020.0184.64
4.3.80.0030.0314.59
4.3.70.0030.0164.63
4.3.60.0010.0224.63
4.3.50.0060.0134.63
4.3.40.0010.0254.54
4.3.30.0010.0173.29
4.3.20.0010.0163.26
4.3.10.0010.0163.22
4.3.00.0000.01715.62

preferences:
59.71 ms | 401 KiB | 5 Q