3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('en_GB', NumberFormatter::CURRENCY); echo 'UK: ', $formatter->formatCurrency($amount, 'EUR'), PHP_EOL;

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.0190.02219.50
8.3.50.0060.03519.25
8.3.40.0140.00720.33
8.3.30.0230.00020.29
8.3.20.0120.00821.93
8.3.10.0100.01025.15
8.3.00.0130.00721.96
8.2.180.0100.03019.25
8.2.170.0140.00722.96
8.2.160.0150.00621.72
8.2.150.0160.00324.18
8.2.140.0110.01124.66
8.2.130.0040.00426.16
8.2.120.0080.00021.89
8.2.110.0040.00821.27
8.2.100.0080.00820.15
8.2.90.0030.00620.86
8.2.80.0050.00320.05
8.2.70.0050.01019.63
8.2.60.0040.00420.03
8.2.50.0090.00019.90
8.2.40.0050.00322.05
8.2.30.0030.00522.63
8.2.20.0000.00820.27
8.2.10.0060.00320.16
8.2.00.0050.00320.16
8.1.280.0270.03125.92
8.1.270.0150.00423.69
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0100.00025.54
8.1.230.0090.00619.52
8.1.220.0090.00519.66
8.1.210.0100.00019.23
8.1.200.0080.00319.35
8.1.190.0040.00419.23
8.1.180.0040.00419.40
8.1.170.0000.00822.45
8.1.160.0000.00820.68
8.1.150.0050.00322.27
8.1.140.0100.00521.52
8.1.130.0000.01020.42
8.1.120.0030.00519.66
8.1.110.0000.00819.59
8.1.100.0000.00819.55
8.1.90.0060.00319.50
8.1.80.0040.00419.57
8.1.70.0000.00819.62
8.1.60.0080.00419.71
8.1.50.0030.00719.64
8.1.40.0030.00719.70
8.1.30.0030.00519.76
8.1.20.0090.00019.81
8.1.10.0090.00419.72
8.1.00.0000.00819.65
8.0.300.0000.00819.16
8.0.290.0040.00418.88
8.0.280.0000.00720.10
8.0.270.0040.00419.36
8.0.260.0040.00419.00
8.0.250.0040.00419.26
8.0.240.0090.00319.11
8.0.230.0030.00619.09
8.0.220.0040.00419.02
8.0.210.0030.00518.99
8.0.200.0040.00418.94
8.0.190.0060.00319.04
8.0.180.0000.00819.04
8.0.170.0080.00019.06
8.0.160.0090.00918.93
8.0.150.0040.00418.88
8.0.140.0080.00019.08
8.0.130.0050.00013.30
8.0.120.0030.00519.11
8.0.110.0000.00719.14
8.0.100.0000.00819.13
8.0.90.0030.00619.27
8.0.80.0060.01619.25
8.0.70.0040.00419.04
8.0.60.0040.00419.21
8.0.50.0060.00319.16
8.0.30.0060.01419.32
8.0.20.0110.01019.35
8.0.10.0040.00419.19
8.0.00.0060.01219.14
7.4.330.0020.00215.55
7.4.320.0030.00318.61
7.4.300.0070.00018.59
7.4.290.0070.00418.80
7.4.280.0150.00418.72
7.4.270.0080.00018.60
7.4.260.0120.00418.68
7.4.250.0090.00018.76
7.4.240.0080.00018.64
7.4.230.0000.00718.62
7.4.220.0350.01118.75
7.4.210.0110.00918.74
7.4.200.0000.00718.84
7.4.160.0130.00918.60
7.4.150.0090.01118.51
7.4.140.0110.00918.59
7.4.130.0150.00618.73
7.4.120.0090.00918.53
7.3.330.0030.00313.19
7.3.320.0060.00013.16
7.3.310.0000.00818.54
7.3.300.0000.00818.21
7.3.290.0070.00018.51
7.3.280.0130.01118.50
7.3.270.0060.01218.66
7.3.260.0090.01218.46
7.3.250.0110.00918.62
7.3.240.0100.01518.78
7.1.70.0270.01017.57

preferences:
42.36 ms | 400 KiB | 5 Q