3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('en_GB', NumberFormatter::CURRENCY); $formatter2 = new NumberFormatter('en_US', NumberFormatter::CURRENCY); print $formatter->getSymbol(NumberFormatter::CURRENCY_SYMBOL); print $formatter2->getSymbol(NumberFormatter::CURRENCY_SYMBOL);

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.0150.00018.38
8.3.50.0040.01118.26
8.3.40.0130.00920.04
8.3.30.0120.00620.10
8.3.20.0060.00921.89
8.3.10.0080.00023.29
8.3.00.0080.00023.27
8.2.180.0120.00318.50
8.2.170.0150.00322.96
8.2.160.0080.00621.72
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00321.14
8.2.120.0040.00426.35
8.2.110.0100.00023.03
8.2.100.0060.00619.90
8.2.90.0030.00520.72
8.2.80.0050.00319.50
8.2.70.0060.00319.38
8.2.60.0030.01019.68
8.2.50.0050.01319.38
8.2.40.0040.00423.82
8.2.30.0030.00520.85
8.2.20.0120.00319.61
8.2.10.0000.00920.00
8.2.00.0000.00820.04
8.1.280.0070.00725.92
8.1.270.0070.00723.73
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0030.00725.45
8.1.230.0030.00919.77
8.1.220.0040.00419.64
8.1.210.0080.00019.00
8.1.200.0050.00919.00
8.1.190.0060.00319.23
8.1.180.0000.00819.10
8.1.170.0140.00020.31
8.1.160.0100.00322.25
8.1.150.0030.00522.30
8.1.140.0000.00821.44
8.1.130.0000.00819.57
8.1.120.0080.00019.56
8.1.110.0000.00819.45
8.1.100.0000.00919.49
8.1.90.0040.00419.54
8.1.80.0090.00319.50
8.1.70.0070.00019.41
8.1.60.0000.01019.48
8.1.50.0030.00619.54
8.1.40.0120.00319.60
8.1.30.0030.00619.53
8.1.20.0050.00319.70
8.1.10.0000.00819.63
8.1.00.0000.00819.47
8.0.300.0040.00418.77
8.0.290.0050.00318.63
8.0.280.0000.00819.82
8.0.270.0040.00419.15
8.0.260.0070.00019.23
8.0.250.0000.00718.91
8.0.240.0030.00718.75
8.0.230.0000.00718.83
8.0.220.0000.00918.79
8.0.210.0030.00518.63
8.0.200.0040.00718.71
8.0.190.0090.00618.81
8.0.180.0000.00818.87
8.0.170.0120.00418.90
8.0.160.0000.00718.80
8.0.150.0040.00418.77
8.0.140.0060.00318.79
8.0.130.0000.00613.29
8.0.120.0090.00018.85
8.0.110.0000.00819.04
8.0.100.0050.00318.75
8.0.90.0000.00918.93
8.0.80.0100.00718.82
8.0.70.0050.00318.73
8.0.60.0040.00418.94
8.0.50.0030.00619.00
8.0.30.0140.00518.93
8.0.20.0070.01219.05
8.0.10.0000.00818.95
8.0.00.0140.00818.77
7.4.330.0030.00316.76
7.4.320.0070.00018.53
7.4.300.0030.00718.64
7.4.290.0070.00718.60
7.4.280.0080.00318.57
7.4.270.0030.00418.67
7.4.260.0030.00518.60
7.4.250.0030.00618.60
7.4.240.0000.00718.57
7.4.230.0000.00718.50
7.4.220.0100.01418.70
7.4.210.0100.01018.74
7.4.200.0070.00018.53
7.4.160.0070.01018.33
7.4.150.0120.00918.50
7.4.140.0120.00818.41
7.4.130.0100.01318.38
7.4.120.0080.01318.61
7.4.110.0170.01018.30
7.4.100.0130.01018.31
7.4.90.0130.00718.38
7.4.80.0060.01319.39
7.4.70.0120.01218.51
7.4.60.0150.00918.34
7.4.50.0030.01318.70
7.4.40.0070.01018.38
7.4.30.0120.01718.61
7.4.10.0070.01316.92
7.4.00.0050.01316.80
7.3.330.0000.00513.24
7.3.320.0000.00613.00
7.3.310.0030.00518.45
7.3.300.0040.00418.14
7.3.290.0100.00718.23
7.3.280.0120.01018.20
7.3.270.0150.00318.55
7.3.260.0130.00618.39
7.3.250.0100.00918.30
7.3.240.0080.01118.47
7.3.230.0150.00418.61
7.3.210.0040.01518.18
7.3.200.0030.02219.39
7.3.190.0130.01018.47
7.3.180.0080.00918.51
7.3.170.0170.01018.39
7.3.160.0000.01818.46
7.3.130.0070.01116.68
7.3.120.0030.00917.05
7.3.110.0090.00916.94
7.3.100.0070.01016.95
7.3.90.0000.01516.78
7.3.80.0030.00916.67
7.3.70.0070.01116.79
7.3.60.0060.00916.55
7.3.50.0070.00316.71
7.3.40.0070.00717.00
7.3.30.0030.00616.73
7.3.20.0030.01318.50
7.3.10.0100.00318.23
7.3.00.0110.00418.50
7.2.330.0140.01118.74
7.2.320.0070.01318.71
7.2.310.0100.01018.37
7.2.300.0150.00418.75
7.2.290.0070.01118.58
7.2.260.0040.01417.25
7.2.250.0100.01016.84
7.2.240.0060.00917.25
7.2.230.0000.01317.09
7.2.220.0070.01117.02
7.2.210.0070.00716.94
7.2.200.0070.00717.02
7.2.190.0060.00916.97
7.2.180.0090.00617.18
7.2.170.0100.00316.95
7.2.160.0070.01017.15
7.2.150.0100.00718.39
7.2.140.0070.01018.75
7.2.130.0000.01818.76
7.2.120.0150.00018.92
7.2.110.0000.01618.73
7.2.100.0150.00418.57
7.2.90.0070.00718.75
7.2.80.0030.01218.87
7.2.70.0070.01018.90
7.2.60.0070.00918.77
7.2.50.0120.00619.00
7.2.40.0000.01518.70
7.2.30.0090.00618.93
7.2.20.0030.01018.78
7.2.10.0000.01118.71
7.2.00.0090.00620.22
7.1.330.0060.00617.32
7.1.320.0060.00917.72
7.1.310.0030.00917.57
7.1.300.0030.01317.64
7.1.290.0060.00617.56
7.1.280.0040.01117.56
7.1.270.0030.01417.37
7.1.260.0070.00717.76
7.1.250.0060.00917.62
7.1.240.0110.00417.36
7.1.230.0070.00717.95
7.1.220.0080.00817.74
7.1.210.0000.01317.72
7.1.200.0060.00417.52
7.1.190.0060.00917.97
7.1.180.0030.01217.95
7.1.170.0030.00917.84
7.1.160.0030.01017.43
7.1.150.0130.00317.98
7.1.140.0070.00417.50
7.1.130.0060.01017.93
7.1.120.0120.00417.69
7.1.110.0030.00617.52
7.1.100.0040.01219.07
7.1.90.0100.00317.54
7.1.80.0070.01017.97
7.1.70.0020.00818.47
7.1.60.0100.01218.67
7.1.50.0120.00718.28
7.1.40.0000.01417.72
7.1.30.0030.01017.70
7.1.20.0080.00417.93
7.1.10.0040.01117.65
7.1.00.0030.04321.04
7.0.330.0100.00317.37
7.0.320.0070.01117.52
7.0.310.0040.00817.54
7.0.300.0080.00417.33
7.0.290.0030.00717.23
7.0.280.0000.01517.21
7.0.270.0130.00017.46
7.0.260.0000.01317.41
7.0.250.0070.00717.38
7.0.240.0110.00417.50
7.0.230.0130.00317.29
7.0.220.0060.00617.54
7.0.210.0060.00617.52
7.0.200.0060.00618.32
7.0.190.0060.00917.46
7.0.180.0060.00617.14
7.0.170.0030.01017.44
7.0.160.0080.00817.51
7.0.150.0090.00317.44
7.0.140.0060.00617.48
7.0.130.0070.00717.30
7.0.120.0070.01017.22
7.0.110.0040.01817.46
7.0.100.0170.00317.13
7.0.90.0030.01017.40
7.0.80.0060.00917.22
7.0.70.0030.00717.00
7.0.60.0110.03920.62
7.0.50.0120.03917.51
7.0.40.0090.03418.62
7.0.30.0130.04518.58
7.0.20.0130.03118.54
7.0.10.0070.03318.67
7.0.00.0090.04218.78
5.6.400.0060.00916.23
5.6.390.0000.01316.34
5.6.380.0100.01016.46
5.6.370.0090.00616.17
5.6.360.0000.01416.63
5.6.350.0030.01316.35
5.6.340.0060.01016.26
5.6.330.0060.00916.39
5.6.320.0070.00716.44
5.6.310.0000.01216.54
5.6.300.0040.01116.37
5.6.290.0100.00316.28
5.6.280.0080.02019.71
5.6.270.0070.01016.38
5.6.260.0100.01016.47
5.6.250.0090.00916.25
5.6.240.0030.01016.51
5.6.230.0090.00916.24
5.6.220.0030.01616.26
5.6.210.0060.03919.46
5.6.200.0050.03217.11
5.6.190.0030.03019.44
5.6.180.0140.04719.51
5.6.170.0280.03819.39
5.6.160.0060.04619.34
5.6.150.0050.02317.27
5.6.140.0060.04717.22
5.6.130.0070.02317.25
5.6.120.0070.03319.54
5.6.110.0050.04519.69
5.6.100.0070.02519.70
5.6.90.0120.04019.71
5.6.80.0060.04019.30
5.6.70.0050.00816.22
5.6.60.0070.00716.33
5.6.50.0060.00316.26
5.6.40.0070.01016.08
5.6.30.0030.01616.20
5.6.20.0060.01216.23
5.6.10.0000.00916.18
5.6.00.0070.00316.38
5.5.380.0080.00416.28
5.5.370.0090.00916.20
5.5.360.0110.00316.25
5.5.350.0070.03819.17
5.5.340.0100.03817.06
5.5.330.0070.04719.11
5.5.320.0280.03319.09
5.5.310.0190.04219.19
5.5.300.0050.03017.18
5.5.290.0060.02517.17
5.5.280.0080.02719.50
5.5.270.0070.02519.67
5.5.260.0070.03719.35
5.5.250.0080.04519.27
5.5.240.0130.03719.15
5.5.230.0060.00316.34
5.5.220.0070.00316.25
5.5.210.0000.01216.36
5.5.200.0060.01016.27
5.5.190.0090.00916.17
5.5.180.0120.00616.01
5.5.170.0000.01216.41
5.5.160.0080.00816.14
5.5.150.0060.00915.95
5.5.140.0090.00915.95
5.5.130.0000.01616.55
5.5.120.0100.00716.21
5.5.110.0090.00615.99
5.5.100.0000.01616.08
5.5.90.0100.00616.07
5.5.80.0060.00616.20
5.5.70.0000.00916.25
5.5.60.0000.01116.11
5.5.50.0070.01016.19
5.5.40.0060.00616.03
5.5.30.0000.01316.47
5.5.20.0080.00616.34
5.5.10.0070.01016.27
5.5.00.0000.01616.27

preferences:
54.48 ms | 401 KiB | 5 Q