3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'de_DE', NumberFormatter::CURRENCY ); echo $fmt->formatCurrency(1234567.891234567890000, "USD")."\n";

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.00318.38
8.3.60.0130.00320.30
8.3.50.0090.00920.29
8.3.40.0140.00022.09
8.3.30.0090.00620.31
8.3.20.0000.00824.18
8.3.10.0030.00624.66
8.3.00.0040.00426.16
8.2.190.0110.01120.29
8.2.180.0180.00420.66
8.2.170.0040.01220.29
8.2.160.0040.01122.96
8.2.150.0050.00525.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0190.00319.90
8.2.110.0030.00723.16
8.2.100.0060.00619.84
8.2.90.0030.00719.91
8.2.80.0000.00820.22
8.2.70.0040.00419.75
8.2.60.0070.01219.31
8.2.50.0150.00419.38
8.2.40.0120.00719.30
8.2.30.0110.00819.31
8.2.20.0120.00719.67
8.2.10.0180.00419.44
8.2.00.0160.00019.24
8.1.280.0190.00025.92
8.1.270.0080.00024.66
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0000.01023.69
8.1.230.0060.00622.95
8.1.220.0030.00519.79
8.1.210.0030.00720.71
8.1.200.0000.00819.22
8.1.190.0050.01319.04
8.1.180.0080.00918.99
8.1.170.0090.00819.23
8.1.160.0110.00619.06
8.1.150.0110.00619.24
8.1.140.0120.00519.17
8.1.130.0100.00719.29
8.1.120.0080.01019.19
8.1.110.0130.00419.38
8.1.100.0130.00419.23
8.1.90.0100.00719.25
8.1.80.0140.00319.36
8.1.70.0170.00019.30
8.1.60.0110.00719.25
8.1.50.0170.00219.37
8.1.40.0100.00819.50
8.1.30.0110.00819.48
8.1.20.0140.00419.61
8.1.10.0130.00519.41
8.1.00.0150.00319.38
8.0.300.0000.00721.69
8.0.290.0040.00418.88
8.0.280.0140.00318.63
8.0.270.0100.00718.41
8.0.260.0090.00818.75
8.0.250.0130.00518.67
8.0.240.0100.00718.63
8.0.230.0160.00318.47
8.0.220.0120.00518.56
8.0.210.0130.00618.50
8.0.200.0140.00418.75
8.0.190.0120.00718.63
8.0.180.0150.00318.48
8.0.170.0150.00218.73
8.0.160.0160.00218.69
8.0.150.0110.00718.61
8.0.140.0120.00618.60
8.0.130.0130.00518.73
8.0.120.0120.00518.69
8.0.110.0120.00418.81
8.0.100.0150.00218.68
8.0.90.0130.00518.63
8.0.80.0130.00318.81
8.0.70.0150.00118.63
8.0.60.0120.00618.36
8.0.50.0140.00318.69
8.0.30.0120.00618.63
8.0.20.0080.01018.50
8.0.10.0070.01018.55

preferences:
47.74 ms | 401 KiB | 5 Q