3v4l.org

run code in 300+ PHP versions simultaneously
<?php $amount = '1234345455.67'; $formatter = new NumberFormatter('en_US', 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.70.0240.01720.90
8.3.60.0130.01319.38
8.3.50.0100.02819.93
8.3.40.0130.00720.20
8.3.30.0040.01920.06
8.3.20.0110.00421.58
8.3.10.0130.00623.21
8.3.00.0060.00321.70
8.2.180.0060.02519.50
8.2.170.0100.00622.96
8.2.160.0110.00421.95
8.2.150.0100.00624.18
8.2.140.0170.00324.66
8.2.130.0100.00022.96
8.2.120.0120.00326.35
8.2.110.0070.01121.31
8.2.100.0100.01019.63
8.2.90.0000.00820.55
8.2.80.0080.00019.93
8.2.70.0000.00819.63
8.2.60.0080.00019.92
8.2.50.0060.00320.04
8.2.40.0040.00422.09
8.2.30.0030.00622.46
8.2.20.0030.00519.98
8.2.10.0040.00420.01
8.2.00.0060.00320.09
8.1.280.0160.02325.92
8.1.270.0120.00323.69
8.1.260.0090.00926.35
8.1.250.0090.00928.09
8.1.240.0090.00021.02
8.1.230.0090.00321.10
8.1.220.0040.00419.68
8.1.210.0000.01019.13
8.1.200.0070.00319.22
8.1.190.0000.00819.23
8.1.180.0000.00819.41
8.1.170.0060.00320.51
8.1.160.0000.00820.56
8.1.150.0080.00022.05
8.1.140.0060.00321.46
8.1.130.0040.00420.32
8.1.120.0000.00719.55
8.1.110.0000.00819.57
8.1.100.0060.00319.55
8.1.90.0080.00019.64
8.1.80.0050.00519.42
8.1.70.0000.00919.59
8.1.60.0090.00019.71
8.1.50.0000.01019.77
8.1.40.0090.00319.34
8.1.30.0050.00319.66
8.1.20.0030.00619.93
8.1.10.0000.00819.76
8.1.00.0040.00419.65
8.0.300.0000.00721.75
8.0.290.0040.00418.88
8.0.280.0000.00719.91
8.0.270.0040.00419.36
8.0.260.0030.00318.73
8.0.250.0000.00718.91
8.0.240.0040.00719.09
8.0.230.0000.00718.99
8.0.220.0070.00018.89
8.0.210.0030.00618.94
8.0.200.0070.00019.00
8.0.190.0000.00819.02
8.0.180.0000.00818.96
8.0.170.0040.00419.05
8.0.160.0030.00518.81
8.0.150.0000.00818.64
8.0.140.0040.00418.95
8.0.130.0000.00513.30
8.0.120.0000.00818.88
8.0.110.0020.00519.07
8.0.100.0060.00319.20
8.0.90.0060.00319.23
8.0.80.0100.00719.25
8.0.70.0000.00819.25
8.0.60.0000.00819.24
8.0.50.0000.00819.27
8.0.30.0160.00619.33
8.0.20.0100.01119.31
8.0.10.0040.00419.05
8.0.00.0070.01319.01
7.4.330.0060.00015.55
7.4.320.0070.00018.70
7.4.300.0030.00318.68
7.4.290.0030.00618.60
7.4.280.0060.00318.71
7.4.270.0070.00018.71
7.4.260.0030.00718.70
7.4.250.0000.00818.75
7.4.240.0030.00518.59
7.4.230.0030.00518.59
7.4.220.0090.00918.70
7.4.210.0090.00818.71
7.4.200.0090.00018.75
7.4.160.0050.01118.68
7.4.150.0110.00718.73
7.4.140.0180.00818.47
7.4.130.0120.01318.68
7.4.120.0090.01318.58
7.3.330.0050.00013.10
7.3.320.0000.00513.11
7.3.310.0040.00418.58
7.3.300.0050.00218.55
7.3.290.0030.00418.48
7.3.280.0080.00818.37
7.3.270.0140.00318.39
7.3.260.0100.01018.83
7.3.250.0080.01118.65
7.3.240.0110.00718.68
7.1.70.0100.00619.42

preferences:
36.68 ms | 401 KiB | 5 Q