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.5.10.0110.00719.68
8.5.00.0140.01023.00
8.4.150.0020.00014.05
8.4.140.0270.00921.24
8.4.130.0090.00919.79
8.4.120.0120.00922.27
8.4.110.0080.01524.48
8.4.100.0170.00419.62
8.4.90.0070.00320.69
8.4.80.0040.00519.77
8.4.70.0040.00419.73
8.4.60.0110.00720.56
8.4.50.0190.00921.71
8.4.40.0070.01322.37
8.4.30.0140.00524.21
8.4.20.0160.00319.48
8.4.10.0090.00023.86
8.3.280.0090.01623.30
8.3.270.0140.00718.63
8.3.260.0140.00418.77
8.3.250.0080.00820.85
8.3.240.0080.01318.55
8.3.230.0040.00418.54
8.3.220.0080.00418.91
8.3.210.0150.00518.39
8.3.200.0040.00518.69
8.3.190.0110.00719.04
8.3.180.0050.00318.46
8.3.170.0110.00718.96
8.3.160.0180.00718.26
8.3.150.0120.00621.09
8.3.140.0130.00718.36
8.3.130.0060.00320.48
8.3.120.0080.00822.49
8.3.110.0080.00020.94
8.3.100.0060.00320.39
8.3.90.0050.00320.21
8.3.80.0070.00320.43
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.290.0140.00522.60
8.2.280.0150.00620.33
8.2.270.0140.00419.27
8.2.260.0070.01122.69
8.2.250.0040.01218.88
8.2.240.0060.00319.14
8.2.230.0120.00922.58
8.2.220.0130.00024.06
8.2.210.0070.00726.77
8.2.200.0030.00620.43
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.330.0060.00323.82
8.1.320.0140.00718.34
8.1.310.0070.01118.66
8.1.300.0210.00018.11
8.1.290.0100.00018.88
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:
101.55 ms | 403 KiB | 5 Q