3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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.0130.01018.38
8.3.50.0140.00522.03
8.3.40.0130.00920.11
8.3.30.0150.00020.17
8.3.20.0080.00021.92
8.3.10.0080.00023.35
8.3.00.0070.00723.01
8.2.180.0160.00318.88
8.2.170.0120.00322.96
8.2.160.0070.00722.01
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0090.00023.13
8.2.120.0040.01126.35
8.2.110.0070.00321.97
8.2.100.0090.00319.72
8.2.90.0030.00620.75
8.2.80.0040.00419.48
8.2.70.0030.00619.75
8.2.60.0000.00919.93
8.2.50.0030.00619.63
8.2.40.0070.00324.04
8.2.30.0030.00522.22
8.2.20.0080.00019.78
8.2.10.0000.00820.03
8.2.00.0030.00620.21
8.1.280.0130.00325.92
8.1.270.0090.00021.91
8.1.260.0030.00528.09
8.1.250.0080.00028.09
8.1.240.0030.00625.24
8.1.230.0130.00024.66
8.1.220.0050.00319.80
8.1.210.0140.00719.00
8.1.200.0100.00019.36
8.1.190.0030.00619.10
8.1.180.0030.00619.43
8.1.170.0040.00420.45
8.1.160.0000.00722.34
8.1.150.0040.00420.43
8.1.140.0060.00321.61
8.1.130.0070.00019.68
8.1.120.0040.00419.70
8.1.110.0060.00319.57
8.1.100.0030.00619.54
8.1.90.0040.00419.46
8.1.80.0030.00519.49
8.1.70.0000.00719.41
8.1.60.0000.00819.59
8.1.50.0080.00019.41
8.1.40.0000.00919.53
8.1.30.0030.00519.87
8.1.20.0030.00619.73
8.1.10.0000.00819.66
8.1.00.0030.00619.70
8.0.300.0090.00018.97
8.0.290.0080.00018.75
8.0.280.0030.00620.05
8.0.270.0030.00519.26
8.0.260.0030.00319.36
8.0.250.0030.00518.96
8.0.240.0070.00019.13
8.0.230.0000.00719.02
8.0.220.0000.00718.75
8.0.210.0050.00318.95
8.0.200.0040.00419.01
8.0.190.0000.00818.98
8.0.180.0080.00018.93
8.0.170.0040.00418.96
8.0.160.0040.00418.91
8.0.150.0000.00818.68
8.0.140.0040.00419.05
8.0.130.0000.00513.34
8.0.120.0030.00518.93
8.0.110.0050.00318.92
8.0.100.0050.00319.09
8.0.90.0000.00718.91
8.0.80.0040.01119.11
8.0.70.0030.00519.02
8.0.60.0000.00819.13
8.0.50.0040.00418.96
8.0.30.0100.01019.18
8.0.20.0130.00619.31
8.0.10.0040.00419.22
8.0.00.0100.00818.92
7.4.330.0000.00616.79
7.4.320.0000.00618.52
7.4.300.0040.00418.67
7.4.290.0000.00918.62
7.4.280.0080.00018.52
7.4.270.0070.00018.58
7.4.260.0000.00718.66
7.4.250.0060.00318.63
7.4.240.0020.00518.67
7.4.230.0030.00518.44
7.4.220.0060.01418.67
7.4.210.0000.01818.64
7.4.200.0030.00518.72
7.4.160.0040.01218.42
7.4.150.0090.00918.42
7.4.140.0150.00618.50
7.4.130.0080.01018.59
7.4.120.0070.01018.68
7.4.110.0070.01118.48
7.4.100.0110.01118.57
7.4.90.0160.00318.25
7.4.80.0040.01619.39
7.4.70.0100.00718.34
7.4.60.0070.01018.60
7.4.50.0100.00718.34
7.4.40.0090.00818.36
7.4.30.0170.00618.47
7.4.00.0090.00616.95
7.3.330.0050.00213.09
7.3.320.0030.00313.13
7.3.310.0020.00518.45
7.3.300.0000.00718.40
7.3.290.0100.00618.38
7.3.280.0090.01018.34
7.3.270.0060.01218.61
7.3.260.0090.00918.79
7.3.250.0080.01018.50
7.3.240.0080.01418.50
7.3.230.0140.01018.80
7.3.210.0100.00718.54
7.3.200.0120.00618.52
7.3.190.0030.01418.77
7.3.180.0100.00618.43
7.3.170.0090.01418.36
7.3.160.0090.00818.40
7.3.10.0100.01017.93
7.3.00.0050.01518.30
7.2.330.0080.01118.90
7.2.320.0050.01418.69
7.2.310.0090.01718.89
7.2.300.0150.00318.67
7.2.290.0100.00719.02
7.2.130.0160.00818.14
7.2.120.0070.01118.54
7.2.110.0060.01218.52
7.2.100.0170.00318.40
7.2.90.0130.00718.71
7.2.80.0230.00318.68
7.2.70.0150.01118.30
7.2.60.0100.01218.73
7.2.50.0200.00718.30
7.2.40.0110.00718.51
7.2.30.0070.01118.68
7.2.20.0150.00718.24
7.2.10.0150.01218.73
7.2.00.0070.00720.29
7.1.250.0090.00917.25
7.1.200.0040.01217.55
7.1.100.0030.00920.50
7.1.70.0000.01019.36
7.1.60.0030.02219.52
7.1.50.0030.01019.27
7.1.00.0100.07024.67
7.0.200.0000.01019.11
7.0.60.0030.06021.95
7.0.50.0070.07717.83
7.0.40.0030.07721.92
7.0.30.0330.06321.95
7.0.20.0200.04722.05
7.0.10.0130.05022.06
7.0.00.0130.08321.94
5.6.280.0070.04323.20
5.6.210.0030.09322.62
5.6.200.0070.08018.21
5.6.190.0000.04722.47
5.6.180.0270.07722.48
5.6.170.0330.03322.52
5.6.160.0070.08022.41
5.6.150.0070.07018.18
5.6.140.0030.04318.12
5.6.130.0070.07718.25
5.6.120.0070.06323.21
5.6.110.0030.09323.03
5.6.100.0100.06323.28
5.6.90.0070.06323.17
5.6.80.0070.03722.33
5.5.350.4170.04722.49
5.5.340.0030.05318.02
5.5.330.0070.06322.20
5.5.320.0500.05322.07
5.5.310.0330.07722.13
5.5.300.0130.07717.92
5.5.290.0070.05018.02
5.5.280.0070.06022.65
5.5.270.0100.08322.70
5.5.260.0100.07722.87
5.5.250.0130.07722.44
5.5.240.4170.04322.07

preferences:
53.37 ms | 401 KiB | 5 Q