3v4l.org

run code in 300+ PHP versions simultaneously
<?php $amount = '12345.67'; $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.0130.02319.25
8.3.50.0170.02419.32
8.3.40.0100.01020.34
8.3.30.0200.00320.22
8.3.20.0160.00321.87
8.3.10.0040.01525.29
8.3.00.0150.00321.79
8.2.180.0110.02819.50
8.2.170.0210.00322.96
8.2.160.0180.00321.85
8.2.150.0100.01024.18
8.2.140.0110.01124.66
8.2.130.0090.00923.29
8.2.120.0100.01026.35
8.2.110.0100.00021.16
8.2.100.0130.00320.22
8.2.90.0060.00320.28
8.2.80.0110.00619.87
8.2.70.0030.00620.04
8.2.60.0000.00919.93
8.2.50.0030.00619.93
8.2.40.0040.00422.09
8.2.30.0040.00422.71
8.2.20.0040.00420.09
8.2.10.0050.00320.16
8.2.00.0040.00420.22
8.1.280.0130.02325.92
8.1.270.0040.00423.64
8.1.260.0100.01026.35
8.1.250.0100.01028.09
8.1.240.0050.00523.45
8.1.230.0120.00024.70
8.1.220.0060.00319.54
8.1.210.0040.00419.52
8.1.200.0060.00619.35
8.1.190.0000.00918.98
8.1.180.0080.00019.53
8.1.170.0030.00620.48
8.1.160.0040.00420.57
8.1.150.0040.00422.18
8.1.140.0050.00321.58
8.1.130.0000.00720.38
8.1.120.0060.00319.57
8.1.110.0040.00419.55
8.1.100.0050.00319.48
8.1.90.0030.00619.49
8.1.80.0000.00819.46
8.1.70.0040.00419.33
8.1.60.0000.01019.73
8.1.50.0030.00719.46
8.1.40.0120.00019.47
8.1.30.0040.00419.75
8.1.20.0030.00519.79
8.1.10.0060.00319.73
8.1.00.0060.00319.66
8.0.300.0100.00321.34
8.0.290.0030.00718.88
8.0.280.0040.00420.04
8.0.270.0060.00319.35
8.0.260.0030.00318.96
8.0.250.0050.00219.12
8.0.240.0100.00019.04
8.0.230.0000.00818.99
8.0.220.0030.00518.96
8.0.210.0000.00718.94
8.0.200.0000.00818.86
8.0.190.0030.00618.99
8.0.180.0040.00419.05
8.0.170.0000.00819.05
8.0.160.0080.00018.91
8.0.150.0000.00718.88
8.0.140.0040.00418.86
8.0.130.0000.00513.29
8.0.120.0030.00619.05
8.0.110.0020.00519.21
8.0.100.0050.00319.03
8.0.90.0040.00419.07
8.0.80.0180.00518.97
8.0.70.0040.00418.99
8.0.60.0000.00819.11
8.0.50.0080.00019.16
8.0.30.0120.00719.43
8.0.20.0090.01019.50
8.0.10.0040.00419.32
8.0.00.0070.01119.06
7.4.330.0050.00015.55
7.4.320.0000.00618.70
7.4.300.0030.00318.70
7.4.290.0030.00518.70
7.4.280.0000.00818.63
7.4.270.0030.00318.77
7.4.260.0040.00418.74
7.4.250.0080.00018.66
7.4.240.0070.00018.63
7.4.230.0000.00718.78
7.4.220.0080.01118.63
7.4.210.0030.01218.74
7.4.200.0040.00418.54
7.4.160.0080.01118.57
7.4.150.0100.01018.79
7.4.140.0110.00818.63
7.4.130.0130.00518.59
7.4.120.0140.00518.70
7.3.330.0000.00513.01
7.3.320.0000.00513.10
7.3.310.0030.00518.41
7.3.300.0080.00018.37
7.3.290.0030.00318.45
7.3.280.0060.01018.37
7.3.270.0090.00918.86
7.3.260.0060.01218.58
7.3.250.0110.00918.71
7.3.240.0070.01418.74
7.1.70.0240.01117.57

preferences:
47.97 ms | 401 KiB | 5 Q