3v4l.org

run code in 300+ PHP versions simultaneously
<?php $locale = 'fr_CH'; $formatter = NumberFormatter::create($locale, NumberFormatter::CURRENCY); echo $formatter->formatCurrency(1000, 'CHF'); $locale = 'de_CH'; $formatter = NumberFormatter::create($locale, NumberFormatter::CURRENCY); echo $formatter->formatCurrency(1000, 'CHF');

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.0140.00719.00
8.3.50.0140.00523.09
8.3.40.0040.01220.46
8.3.30.0060.00920.23
8.3.20.0030.00623.53
8.3.10.0040.00425.27
8.3.00.0040.00425.35
8.2.180.0100.01020.66
8.2.170.0150.00322.96
8.2.160.0060.00922.31
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00421.57
8.2.120.0060.01326.35
8.2.110.0030.00621.43
8.2.100.0030.00920.00
8.2.90.0030.00621.02
8.2.80.0030.00619.75
8.2.70.0100.00419.75
8.2.60.0000.00920.05
8.2.50.0030.00619.63
8.2.40.0180.00022.28
8.2.30.0030.00622.36
8.2.20.0000.00919.99
8.2.10.0000.00820.24
8.2.00.0000.00820.18
8.1.280.0090.00625.92
8.1.270.0110.00422.08
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0110.01124.41
8.1.230.0000.01219.97
8.1.220.0030.00620.03
8.1.210.0030.00719.36
8.1.200.0140.00419.35
8.1.190.0060.00319.47
8.1.180.0060.00319.37
8.1.170.0060.00320.63
8.1.160.0060.00322.47
8.1.150.0040.00420.57
8.1.140.0000.00821.78
8.1.130.0000.00819.89
8.1.120.0000.00819.77
8.1.110.0040.00419.74
8.1.100.0000.00819.77
8.1.90.0050.00319.77
8.1.80.0040.00419.74
8.1.70.0030.00619.73
8.1.60.0090.00319.72
8.1.50.0030.00619.82
8.1.40.0090.00019.77
8.1.30.0000.00920.06
8.1.20.0000.00920.05
8.1.10.0080.00020.02
8.1.00.0030.00619.87
8.0.300.0000.00819.22
8.0.290.0000.00819.13
8.0.280.0040.00420.20
8.0.270.0000.00819.39
8.0.260.0000.00719.44
8.0.250.0070.00019.37
8.0.240.0000.00919.25
8.0.230.0040.00419.09
8.0.220.0040.00419.16
8.0.210.0040.00419.03
8.0.200.0030.00619.11
8.0.190.0100.00019.23
8.0.180.0030.00519.07
8.0.170.0000.00819.11
8.0.160.0050.00319.11
8.0.150.0030.00618.96
8.0.140.0040.00419.18
8.0.130.0050.00213.28
8.0.120.0030.00519.18
8.0.110.0080.00019.23
8.0.100.0080.00019.35
8.0.90.0040.00419.03
8.0.80.0040.01419.26
8.0.70.0000.00819.25
8.0.60.0040.00418.91
8.0.50.0040.00419.33
8.0.30.0110.01119.54
8.0.20.0090.01119.47
8.0.10.0040.00419.24
8.0.00.0080.01119.25
7.4.330.0050.00016.78
7.4.320.0000.00618.87
7.4.300.0040.00418.95
7.4.290.0030.00618.85
7.4.280.0000.00918.93
7.4.270.0000.00718.83
7.4.260.0000.00718.94
7.4.250.0000.00818.92
7.4.240.0060.00118.84
7.4.230.0000.00719.02
7.4.220.0130.01018.95
7.4.210.0060.00918.79
7.4.200.0040.00418.73
7.4.160.0040.01618.52
7.4.150.0140.00518.43
7.4.140.0120.01018.66
7.4.130.0130.00918.68
7.4.120.0100.00918.59
7.4.110.0060.01118.76
7.4.100.0060.01218.68
7.4.90.0070.01418.86
7.4.80.0150.00619.39
7.4.70.0110.00718.50
7.4.60.0100.01018.75
7.4.50.0120.00318.71
7.4.40.0090.01218.67
7.4.30.0110.00718.62
7.4.00.0030.01417.00
7.3.330.0060.00013.10
7.3.320.0050.00013.14
7.3.310.0080.00018.59
7.3.300.0040.00418.54
7.3.290.0120.00618.55
7.3.280.0120.00818.61
7.3.270.0080.01218.61
7.3.260.0110.00718.55
7.3.250.0100.00818.71
7.3.240.0100.00818.67
7.3.230.0090.01218.79
7.3.210.0040.01418.68
7.3.200.0070.01018.80
7.3.190.0030.01518.67
7.3.180.0070.01618.45
7.3.170.0030.01418.71
7.3.160.0120.00918.68
7.3.10.0190.00418.27
7.3.00.0130.00318.32
7.2.330.0090.01218.71
7.2.320.0120.01219.05
7.2.310.0140.01019.11
7.2.300.0070.01119.07
7.2.290.0040.01319.09
7.2.130.0170.00018.63
7.2.120.0100.00818.80
7.2.110.0060.00618.96
7.2.100.0090.01018.44
7.2.90.0100.01018.96
7.2.80.0120.00618.76
7.2.70.0100.00719.04
7.2.60.0100.00618.96
7.2.50.0140.00918.31
7.2.40.0170.00719.05
7.2.30.0170.00718.59
7.2.20.0200.00618.43
7.2.10.0150.00818.81
7.2.00.0080.00820.43
7.1.250.0100.00317.30
7.1.200.0050.00517.88
7.1.100.0190.00518.67
7.1.70.0050.00519.55
7.1.60.0100.01719.65
7.1.50.0100.01319.41
7.1.00.0030.07324.79
7.0.200.0000.01119.23
7.0.60.0100.03722.21
7.0.50.0070.06717.82
7.0.40.0230.07022.07
7.0.30.0200.06022.21
7.0.20.0370.07722.40
7.0.10.0100.08322.25
7.0.00.0100.05722.19
5.6.280.0030.07323.00
5.6.210.0070.05322.80
5.6.200.0030.04718.13
5.6.190.0070.08322.58
5.6.180.0330.07322.64
5.6.170.0270.05022.46
5.6.160.0070.04022.63
5.6.150.0030.04018.11
5.6.140.0070.03718.11
5.6.130.0130.07718.15
5.6.120.0030.04323.34
5.6.110.0100.07323.01
5.6.100.0130.05323.44
5.6.90.0000.04323.03
5.6.80.0070.07022.54
5.5.350.4100.04322.66
5.5.340.0100.07017.91
5.5.330.0030.08722.29
5.5.320.0330.06322.46
5.5.310.0200.05322.49
5.5.300.0070.08018.02
5.5.290.0030.08317.91
5.5.280.0000.06022.91
5.5.270.0100.08323.04
5.5.260.0030.07723.17
5.5.250.0030.07723.06
5.5.240.0100.03022.31

preferences:
61.56 ms | 401 KiB | 5 Q