3v4l.org

run code in 300+ PHP versions simultaneously
<?php $amount = 1234345455.67; $formatter = new NumberFormatter('en_US', NumberFormatter::CURRENCY); echo 'en_asaUS: ', $formatter->formatCurrency($amount, 'USD'), 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.0070.02019.50
8.3.50.0130.01319.04
8.3.40.0090.00620.18
8.3.30.0040.01120.11
8.3.20.0040.00421.75
8.3.10.0080.00423.10
8.3.00.0040.00423.40
8.2.180.0160.01221.16
8.2.170.0040.01122.96
8.2.160.0110.01120.59
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0050.00323.18
8.2.120.0000.00926.35
8.2.110.0030.00623.79
8.2.100.0190.00419.59
8.2.90.0080.00020.58
8.2.80.0060.00319.93
8.2.70.0120.00319.63
8.2.60.0040.00420.04
8.2.50.0060.00319.68
8.2.40.0080.00021.96
8.2.30.0040.00422.51
8.2.20.0030.01219.96
8.2.10.0040.00420.02
8.2.00.0040.00419.95
8.1.280.0110.01525.92
8.1.270.0080.00023.52
8.1.260.0060.00326.35
8.1.250.0050.00228.09
8.1.240.0070.00322.90
8.1.230.0060.00621.09
8.1.220.0050.00319.66
8.1.210.0080.00018.87
8.1.200.0100.00019.23
8.1.190.0000.00819.25
8.1.180.0050.00319.39
8.1.170.0030.00620.41
8.1.160.0030.00620.54
8.1.150.0050.00322.10
8.1.140.0000.00821.49
8.1.130.0000.00720.30
8.1.120.0000.00719.50
8.1.110.0000.00819.51
8.1.100.0000.00819.49
8.1.90.0000.00819.21
8.1.80.0000.00719.57
8.1.70.0030.00619.36
8.1.60.0020.00619.61
8.1.50.0060.00319.53
8.1.40.0060.00319.38
8.1.30.0000.00819.87
8.1.20.0040.00419.76
8.1.10.0040.00419.69
8.1.00.0050.00519.59
8.0.300.0030.00521.59
8.0.290.0000.00818.75
8.0.280.0040.00419.81
8.0.270.0040.00419.14
8.0.260.0030.00318.77
8.0.250.0000.00718.93
8.0.240.0070.00418.82
8.0.230.0050.00318.91
8.0.220.0000.00718.77
8.0.210.0050.00318.77
8.0.200.0000.00718.89
8.0.190.0060.00318.81
8.0.180.0000.00818.91
8.0.170.0060.00318.88
8.0.160.0040.00418.67
8.0.150.0040.00418.63
8.0.140.0060.00318.69
8.0.130.0030.00313.31
8.0.120.0060.00318.96
8.0.110.0000.00819.20
8.0.100.0030.00619.18
8.0.90.0000.00718.97
8.0.80.0060.01219.18
8.0.70.0000.00819.20
8.0.60.0050.00319.09
8.0.50.0000.00718.67
8.0.30.0100.01119.40
8.0.20.0060.01419.35
8.0.10.0040.00419.13
8.0.00.0090.00918.99
7.4.330.0050.00015.55
7.4.320.0000.00718.67
7.4.300.0000.00718.51
7.4.290.0040.00418.64
7.4.280.0000.00818.64
7.4.270.0000.00718.50
7.4.260.0000.00818.55
7.4.250.0050.00218.54
7.4.240.0040.00418.64
7.4.230.0040.00418.68
7.4.220.0100.01018.52
7.4.210.0030.01118.56
7.4.200.0070.00018.72
7.4.160.0120.00618.50
7.4.150.0090.00918.33
7.4.140.0100.01118.63
7.4.130.0160.00718.41
7.4.120.0120.01018.55
7.3.330.0030.00312.98
7.3.320.0030.00313.23
7.3.310.0020.00518.48
7.3.300.0000.00718.48
7.3.290.0090.00518.42
7.3.280.0100.00818.36
7.3.270.0120.00618.63
7.3.260.0100.00718.50
7.3.250.0080.01318.67
7.3.240.0050.01318.39
7.1.70.0070.01319.29

preferences:
56.54 ms | 400 KiB | 5 Q