3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = new \NumberFormatter('da_DK', \NumberFormatter::CURRENCY); echo $f->formatCurrency('2.25', 'DKK');

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.00618.50
8.3.50.0380.00822.05
8.3.40.0100.00720.26
8.3.30.0000.01620.14
8.3.20.0060.00321.85
8.3.10.0040.00425.02
8.3.00.0040.00721.56
8.2.180.0120.00318.38
8.2.170.0110.01122.96
8.2.160.0100.00521.90
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00526.16
8.2.120.0040.00719.63
8.2.110.0060.00322.02
8.2.100.0060.00619.50
8.2.90.0040.00420.58
8.2.80.0040.00419.38
8.2.70.0090.00519.38
8.2.60.0040.00419.93
8.2.50.0070.00319.38
8.2.40.0060.00621.14
8.2.30.0000.00820.09
8.2.20.0050.00319.48
8.2.10.0040.00419.94
8.2.00.0040.00419.89
8.1.280.0070.01025.92
8.1.270.0030.00521.83
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00320.97
8.1.230.0030.00919.36
8.1.220.0040.00419.66
8.1.210.0090.00019.11
8.1.200.0000.01119.23
8.1.190.0030.00619.10
8.1.180.0030.00519.51
8.1.170.0070.00720.49
8.1.160.0040.00423.35
8.1.150.0040.00420.31
8.1.140.0080.00019.42
8.1.130.0000.00719.67
8.1.120.0000.00719.45
8.1.110.0040.00419.46
8.1.100.0000.00719.36
8.1.90.0050.00319.18
8.1.80.0030.00719.18
8.1.70.0000.00719.45
8.1.60.0090.00019.64
8.1.50.0070.00319.39
8.1.40.0050.00319.49
8.1.30.0090.00019.86
8.1.20.0040.00419.74
8.1.10.0030.00519.72
8.1.00.0000.00819.67
8.0.300.0060.00318.77
8.0.290.0040.00418.75
8.0.280.0070.00019.98
8.0.270.0070.00019.15
8.0.260.0030.00319.28
8.0.250.0050.00319.00
8.0.240.0040.00419.01
8.0.230.0030.00618.90
8.0.220.0000.00718.93
8.0.210.0050.00318.77
8.0.200.0000.01318.82
8.0.190.0030.00619.03
8.0.180.0060.00618.61
8.0.170.0040.00418.98
8.0.160.0030.00618.80
8.0.150.0050.00318.71
8.0.140.0000.00819.02
8.0.130.0050.00313.40
8.0.120.0040.00418.82
8.0.110.0070.00018.79
8.0.100.0000.00819.17
8.0.90.0040.00418.96
8.0.80.0100.00619.01
8.0.70.0030.00618.94
8.0.60.0040.00418.95
8.0.50.0040.00419.06
8.0.30.0090.00719.16
8.0.20.0100.01019.22
8.0.10.0040.00419.20
8.0.00.0070.01118.99
7.4.330.0000.00515.08
7.4.320.0050.00318.43
7.4.300.0030.00318.62
7.4.290.0140.00018.59
7.4.280.0110.00018.73
7.4.270.0030.00318.63
7.4.260.0070.00318.59
7.4.250.0000.00818.70
7.4.240.0010.00618.75
7.4.230.0040.00418.71
7.4.220.0130.00718.63
7.4.210.0000.01618.81
7.4.200.0080.00018.34
7.4.160.0070.01118.34
7.4.150.0130.00718.51
7.4.140.0110.00918.39
7.4.130.0070.01418.64
7.4.120.0120.00618.47
7.4.110.0090.00918.37
7.4.100.0140.01018.16
7.4.90.0030.01418.48
7.4.80.0130.00719.39
7.4.70.0150.00918.50
7.4.60.0080.00818.52
7.4.50.0050.00518.56
7.4.40.0060.01618.51
7.4.30.0130.00618.35
7.4.00.0110.00716.81
7.3.330.0000.00513.07
7.3.320.0050.00013.13
7.3.310.0000.00718.43
7.3.300.0000.00718.38
7.3.290.0120.01018.33
7.3.280.0090.01018.36
7.3.270.0060.01218.75
7.3.260.0090.00918.44
7.3.250.0150.00818.52
7.3.240.0160.00518.50
7.3.230.0090.01518.71
7.3.210.0070.01018.38
7.3.200.0030.01518.41
7.3.190.0160.00018.69
7.3.180.0130.00418.44
7.3.170.0100.00718.41
7.3.160.0130.00618.47
7.3.120.0100.01316.74
7.3.110.0040.00816.79
7.3.100.0030.01316.77
7.3.90.0060.01016.80
7.3.80.0060.00916.78
7.3.70.0060.00916.70
7.3.60.0100.00716.57
7.3.50.0030.01316.68
7.3.40.0070.01016.74
7.3.30.0100.00716.80
7.3.20.0090.00618.16
7.3.10.0000.01718.51
7.3.00.0030.01018.46
7.2.330.0150.00318.57
7.2.320.0090.01018.77
7.2.310.0100.01318.79
7.2.300.0110.01118.56
7.2.290.0060.01818.80
7.2.240.0130.00617.21
7.2.230.0060.00817.19
7.2.220.0040.01116.79
7.2.210.0000.01117.13
7.2.200.0090.00917.00
7.2.190.0030.01016.79
7.2.180.0060.01317.08
7.2.170.0130.00017.16
7.2.160.0100.00317.29
7.2.150.0080.00818.88
7.2.140.0130.00318.86
7.2.130.0100.00618.76
7.2.120.0070.00718.84
7.2.110.0090.00618.84
7.2.100.0030.01218.83
7.2.90.0150.00318.91
7.2.80.0070.01118.84
7.2.70.0030.01218.82
7.2.60.0110.00618.96
7.2.50.0120.00619.11
7.2.40.0000.01518.77
7.2.30.0080.00318.51
7.2.20.0090.00619.11
7.2.10.0060.01018.80
7.2.00.0070.01020.30
7.1.330.0000.01617.41
7.1.320.0130.00317.55
7.1.310.0140.00317.59
7.1.300.0060.01017.57
7.1.290.0030.01017.52
7.1.280.0070.01017.37
7.1.270.0100.00717.48
7.1.260.0080.00817.46
7.1.250.0110.00417.87
7.1.200.0040.01117.65
7.1.100.0060.00920.17
7.1.70.0060.00619.00
7.1.60.0060.01519.41
7.1.50.0280.01434.48
7.1.00.0070.07324.65
7.0.200.0070.00718.87
7.0.60.0130.07721.84
7.0.50.0130.08017.91
7.0.40.0070.06021.81
7.0.30.0300.07021.87
7.0.20.0270.08021.98
7.0.10.0100.08322.00
7.0.00.0070.04322.00
5.6.280.0000.04022.95
5.6.210.0170.07322.52
5.6.200.0100.07718.09
5.6.190.0000.08322.52
5.6.180.0200.08022.36
5.6.170.0430.06322.22
5.6.160.0100.04022.48
5.6.150.0070.04318.22
5.6.140.0070.03318.07
5.6.130.0070.08018.18
5.6.120.0100.08723.01
5.6.110.0000.05723.26
5.6.100.0030.04323.04
5.6.90.0000.04722.77
5.6.80.0000.04722.38
5.5.350.3130.03322.59
5.5.340.0100.07017.89
5.5.330.0070.09322.35
5.5.320.0330.07022.19
5.5.310.0270.08022.06
5.5.300.0070.03717.98
5.5.290.0100.05017.98
5.5.280.0130.07722.82
5.5.270.0100.07723.03
5.5.260.0070.05322.78
5.5.250.0030.08722.34
5.5.240.0200.07722.51
5.4.450.0330.05021.39
5.4.440.0430.06721.08
5.4.430.0370.06721.38
5.4.420.0230.04721.27
5.4.410.0270.03721.23
5.4.400.0270.07321.07
5.4.390.0500.05721.06
5.4.380.0270.05021.21
5.4.370.0300.04321.05
5.4.360.0370.06720.88
5.4.350.0300.05721.12
5.4.340.0270.04721.24
5.4.320.0330.03021.18
5.4.310.0330.04021.18
5.4.300.0300.06321.15
5.4.290.0330.07021.21
5.4.280.0300.04320.83
5.4.270.0270.04321.17
5.4.260.0300.04320.85
5.4.250.0330.04021.04
5.4.240.0200.04320.97
5.4.230.0230.04021.12
5.4.220.0270.03721.21
5.4.210.0300.03321.20
5.4.200.0370.03721.18
5.4.190.0400.04020.83
5.4.180.0300.03021.22
5.4.170.0200.04021.17
5.4.160.0230.03721.03
5.4.150.0230.04321.16
5.4.140.0200.04018.48
5.4.130.0230.03718.74
5.4.120.0300.03718.53
5.4.110.0230.03718.63
5.4.100.0330.04018.34
5.4.90.0370.03718.63
5.4.80.0200.04018.64

preferences:
55.9 ms | 401 KiB | 5 Q