3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('en_US', NumberFormatter::PERCENT); print $formatter->format(.45);

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.0060.00920.06
8.3.50.0250.00722.85
8.3.40.0110.01120.00
8.3.30.0110.00420.42
8.3.20.0000.00821.71
8.3.10.0060.00325.09
8.3.00.0040.00421.00
8.2.180.0320.00618.25
8.2.170.0090.00622.96
8.2.160.0110.00421.81
8.2.150.0000.00824.18
8.2.140.0060.00924.66
8.2.130.0050.00326.16
8.2.120.0080.00023.60
8.2.110.0030.00720.97
8.2.100.0060.00619.25
8.2.90.0090.00020.33
8.2.80.0000.00919.13
8.2.70.0050.01019.00
8.2.60.0050.00919.68
8.2.50.0000.00919.25
8.2.40.0000.00821.82
8.2.30.0070.00719.68
8.2.20.0030.00619.43
8.2.10.0060.00319.52
8.2.00.0000.00819.41
8.1.280.0110.00425.92
8.1.270.0040.00425.09
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00525.17
8.1.230.0120.00019.00
8.1.220.0030.00619.38
8.1.210.0030.00619.04
8.1.200.0090.00018.85
8.1.190.0050.00518.63
8.1.180.0040.00419.03
8.1.170.0000.00820.09
8.1.160.0000.00823.23
8.1.150.0040.00420.02
8.1.140.0000.00819.04
8.1.130.0070.00019.36
8.1.120.0000.00719.32
8.1.110.0060.00319.02
8.1.100.0030.00518.89
8.1.90.0030.00619.31
8.1.80.0050.00219.34
8.1.70.0030.00319.23
8.1.60.0090.00919.46
8.1.50.0030.00519.42
8.1.40.0030.00519.33
8.1.30.0080.00019.50
8.1.20.0030.00519.34
8.1.10.0000.00819.28
8.1.00.0090.00019.30
8.0.300.0090.00618.77
8.0.290.0060.00318.25
8.0.280.0040.00419.71
8.0.270.0040.00418.89
8.0.260.0070.00018.91
8.0.250.0030.00318.78
8.0.240.0030.00318.63
8.0.230.0050.00318.61
8.0.220.0000.00718.44
8.0.210.0050.00318.54
8.0.200.0000.00918.48
8.0.190.0050.00518.53
8.0.180.0120.00318.44
8.0.170.0060.00318.57
8.0.160.0040.00418.52
8.0.150.0000.00818.32
8.0.140.0130.00318.48
8.0.130.0000.00513.22
8.0.120.0000.00818.82
8.0.110.0030.00718.58
8.0.100.0040.00418.66
8.0.90.0070.00018.64
8.0.80.0120.01218.69
8.0.70.0080.00018.79
8.0.60.0040.00418.79
8.0.50.0050.00218.66
8.0.30.0050.01619.01
8.0.20.0140.00818.88
8.0.10.0040.00418.82
8.0.00.0120.00618.52
7.4.330.0040.00415.02
7.4.320.0040.00418.40
7.4.300.0070.00018.47
7.4.290.0070.00018.48
7.4.280.0060.00318.35
7.4.270.0030.00318.36
7.4.260.0000.00718.50
7.4.250.0050.00218.34
7.4.240.0040.00418.39
7.4.230.0050.00218.35
7.4.220.0100.01018.56
7.4.210.0100.00718.51
7.4.200.0070.00018.53
7.4.160.0110.00618.15
7.4.150.0120.00818.34
7.4.140.0090.01118.23
7.4.130.0140.00418.20
7.4.120.0090.01118.30
7.4.110.0100.00718.58
7.4.100.0060.01218.42
7.4.90.0110.00718.45
7.4.80.0130.01319.39
7.4.70.0110.00718.02
7.4.60.0100.00718.30
7.4.50.0040.00018.09
7.4.40.0090.00917.95
7.4.30.0070.01118.41
7.4.00.0070.00716.66
7.3.330.0000.00513.13
7.3.320.0060.00013.15
7.3.310.0000.00718.20
7.3.300.0080.00018.06
7.3.290.0100.00718.06
7.3.280.0100.00518.03
7.3.270.0150.01118.38
7.3.260.0100.00718.17
7.3.250.0090.00918.15
7.3.240.0170.00618.36
7.3.230.0140.00417.95
7.3.210.0110.00718.35
7.3.200.0070.01519.39
7.3.190.0120.01218.17
7.3.180.0000.01618.01
7.3.170.0110.00618.45
7.3.160.0180.00018.17
7.2.330.0100.00918.28
7.2.320.0030.01618.53
7.2.310.0120.01218.39
7.2.300.0090.00918.11
7.2.290.0090.01518.54
5.6.20.0130.00315.90
5.6.10.0070.00716.15
5.6.00.0160.00416.19
5.5.180.0060.00310.87
5.5.170.0030.01316.07
5.5.160.0080.00010.80
5.5.150.0060.00810.88
5.5.140.0090.00010.63
5.5.130.0100.00010.48
5.5.120.0050.00510.65
5.5.110.0060.00310.84
5.5.100.0040.00710.66
5.5.90.0090.00310.63
5.5.80.0030.00610.87
5.5.70.0030.00610.63
5.5.60.0100.00010.89
5.5.50.0050.00510.77
5.5.40.0030.00710.70
5.5.30.0070.00310.95
5.5.20.0030.00710.68
5.5.10.0050.00510.70
5.5.00.0060.00610.42
5.4.340.0060.00310.65
5.4.330.0050.00610.73
5.4.320.0000.00910.59
5.4.310.0030.00610.61
5.4.300.0000.01110.75
5.4.290.0110.00010.75
5.4.280.0060.00310.87
5.4.270.0030.00610.61
5.4.260.0000.01110.65
5.4.250.0040.00410.35
5.4.240.0030.00710.91
5.4.230.0030.00710.55
5.4.220.0050.00210.61
5.4.210.0030.00610.55
5.4.200.0060.00310.63
5.4.190.0110.00010.81
5.4.180.0080.00310.79
5.4.170.0000.00910.59
5.4.160.0040.00510.62
5.4.150.0030.00610.69
5.4.140.0070.00410.73
5.4.130.0000.01010.78
5.4.120.0030.00610.46
5.4.110.0090.00010.70
5.4.100.0070.00310.48
5.4.90.0000.01210.62
5.4.80.0110.00010.81
5.4.70.0090.00010.62
5.4.60.0040.00410.73
5.4.50.0000.01010.54
5.4.40.0000.00910.54
5.4.30.0030.00610.66
5.4.20.0060.00310.80
5.4.10.0080.00010.72
5.4.00.0030.00910.55
5.3.290.0040.00410.32
5.3.280.0040.00410.05
5.3.270.0040.00410.23
5.3.260.0000.00710.17
5.3.250.0020.00710.21
5.3.240.0000.01010.06
5.3.230.0030.00310.20
5.3.220.0000.00810.04
5.3.210.0050.0039.87
5.3.200.0040.0049.99
5.3.190.0100.00010.17
5.3.180.0070.00310.30
5.3.170.0060.00310.38
5.3.160.0060.00310.28
5.3.150.0000.01010.27
5.3.140.0000.00810.28
5.3.130.0050.00210.25
5.3.120.0030.00510.16
5.3.110.0040.00410.16
5.3.100.0110.00010.21
5.3.90.0080.00310.12
5.3.80.0070.00010.12
5.3.70.0040.0079.99
5.3.60.0040.00510.02
5.3.50.0070.00210.09
5.3.40.0000.00710.14
5.3.30.0040.0049.98
5.3.20.0070.00010.09
5.3.10.0040.0079.95
5.3.00.0050.0039.95
5.2.170.0000.0099.29
5.2.160.0050.0039.18
5.2.150.0030.0039.29
5.2.140.0060.0009.13
5.2.130.0090.0009.01
5.2.120.0050.0029.29
5.2.110.0040.0048.94
5.2.100.0070.0039.21
5.2.90.0040.0039.23
5.2.80.0000.0079.04
5.2.70.0080.0009.16
5.2.60.0000.0068.84
5.2.50.0090.0009.21
5.2.40.0000.0079.00
5.2.30.0070.0008.98
5.2.20.0030.0038.96
5.2.10.0050.0038.94
5.2.00.0050.0038.86
5.1.60.0020.0048.84
5.1.50.0060.0008.84
5.1.40.0030.0038.84
5.1.30.0070.0028.84
5.1.20.0060.0008.84
5.1.10.0000.0068.84
5.1.00.0030.0038.84
5.0.50.0030.0038.84
5.0.40.0050.0008.84
5.0.30.0050.0008.84
5.0.20.0030.0038.84
5.0.10.0000.0068.84
5.0.00.0030.0038.84
4.4.90.0000.0068.84
4.4.80.0040.0008.84
4.4.70.0000.0058.84
4.4.60.0000.0068.84
4.4.50.0000.0068.84
4.4.40.0000.0048.84
4.4.30.0000.0048.84
4.4.20.0040.0008.84
4.4.10.0000.0058.84
4.4.00.0040.0008.84
4.3.110.0000.0048.84
4.3.100.0000.0058.84
4.3.90.0000.0068.84
4.3.80.0000.0068.84
4.3.70.0000.0068.84
4.3.60.0030.0038.84
4.3.50.0000.0058.84
4.3.40.0000.0058.84
4.3.30.0000.0058.84
4.3.20.0000.0058.84
4.3.10.0000.0058.84
4.3.00.0050.0008.84

preferences:
54.39 ms | 401 KiB | 5 Q