3v4l.org

run code in 300+ PHP versions simultaneously
<?php $amount = '123445455.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.0100.01719.38
8.3.50.0070.02019.31
8.3.40.0070.01420.30
8.3.30.0070.01120.29
8.3.20.0070.01121.64
8.3.10.0100.01023.55
8.3.00.0060.01221.94
8.2.180.0040.03619.13
8.2.170.0070.01422.96
8.2.160.0100.00721.97
8.2.150.0100.01024.18
8.2.140.0100.01024.66
8.2.130.0060.00623.23
8.2.120.0150.00426.35
8.2.110.0110.00023.00
8.2.100.0140.00319.91
8.2.90.0060.00320.67
8.2.80.0000.00820.04
8.2.70.0090.00419.50
8.2.60.0060.00320.16
8.2.50.0030.00619.93
8.2.40.0040.00422.14
8.2.30.0040.00422.57
8.2.20.0000.00820.26
8.2.10.0040.00420.11
8.2.00.0000.00820.18
8.1.280.0090.03125.92
8.1.270.0060.01223.72
8.1.260.0090.00926.35
8.1.250.0130.00628.09
8.1.240.0050.00522.95
8.1.230.0040.00821.09
8.1.220.0090.00019.80
8.1.210.0090.00519.13
8.1.200.0000.01019.36
8.1.190.0030.00619.21
8.1.180.0040.00419.54
8.1.170.0040.00420.36
8.1.160.0080.00020.50
8.1.150.0050.00322.23
8.1.140.0000.00821.59
8.1.130.0030.00520.45
8.1.120.0080.00019.57
8.1.110.0000.00819.43
8.1.100.0030.00619.58
8.1.90.0030.00519.61
8.1.80.0030.00619.31
8.1.70.0050.00319.45
8.1.60.0060.00319.67
8.1.50.0070.00419.50
8.1.40.0050.00519.64
8.1.30.0040.00419.80
8.1.20.0000.00919.92
8.1.10.0040.00419.82
8.1.00.0000.00819.75
8.0.300.0000.00821.76
8.0.290.0000.00818.88
8.0.280.0000.00720.06
8.0.270.0020.00519.41
8.0.260.0030.00318.92
8.0.250.0020.00519.13
8.0.240.0040.00719.10
8.0.230.0050.00218.93
8.0.220.0020.00518.82
8.0.210.0000.00819.11
8.0.200.0000.00718.94
8.0.190.0080.00018.98
8.0.180.0020.00519.11
8.0.170.0060.00318.97
8.0.160.0000.00718.77
8.0.150.0050.00518.75
8.0.140.0040.00418.86
8.0.130.0040.00413.23
8.0.120.0000.00918.93
8.0.110.0080.00018.89
8.0.100.0060.00319.01
8.0.90.0050.00319.21
8.0.80.0160.00619.09
8.0.70.0060.00319.09
8.0.60.0090.00019.20
8.0.50.0040.00419.05
8.0.30.0090.01119.38
8.0.20.0140.00919.28
8.0.10.0100.00019.32
8.0.00.0110.00918.77
7.4.330.0000.00515.55
7.4.320.0040.00418.81
7.4.300.0060.00018.80
7.4.290.0040.00418.62
7.4.280.0000.00818.80
7.4.270.0030.00318.79
7.4.260.0250.00418.68
7.4.250.0080.00018.69
7.4.240.0000.00718.80
7.4.230.0000.00718.91
7.4.220.0090.00918.91
7.4.210.0130.00618.81
7.4.200.0040.00418.69
7.4.160.0100.01018.66
7.4.150.0070.01318.50
7.4.140.0120.00718.49
7.4.130.0100.01318.63
7.4.120.0090.01118.64
7.3.330.0000.00513.14
7.3.320.0030.00313.25
7.3.310.0040.00418.48
7.3.300.0080.00018.25
7.3.290.0050.00218.40
7.3.280.0080.00918.41
7.3.270.0040.01418.78
7.3.260.0140.00518.49
7.3.250.0150.00818.63
7.3.240.0120.00718.66
7.1.70.0170.00717.55

preferences:
52.14 ms | 400 KiB | 5 Q