3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new NumberFormatter('en_US', NumberFormatter::CURRENCY); echo $formatter->formatCurrency(1234.56) . PHP_EOL; $formatter = new NumberFormatter('de_DE', NumberFormatter::CURRENCY); echo $formatter->formatCurrency(1234.56, 'USD');

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.01020.31
8.3.50.0150.00318.23
8.3.40.0090.00620.21
8.3.30.0070.00720.04
8.3.20.0050.00321.54
8.3.10.0030.00625.07
8.3.00.0080.00021.26
8.2.180.0090.00620.41
8.2.170.0110.00422.96
8.2.160.0090.00623.79
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00423.03
8.2.120.0080.00026.35
8.2.110.0090.00023.71
8.2.100.0080.00419.56
8.2.90.0000.00819.78
8.2.80.0090.00020.53
8.2.70.0060.00319.55
8.2.60.0050.00319.79
8.2.50.0040.00419.78
8.2.40.0080.00022.03
8.2.30.0070.00020.71
8.2.20.0040.00419.91
8.2.10.0090.00019.90
8.2.00.0000.00720.02
8.1.280.0080.00825.92
8.1.270.0040.00421.34
8.1.260.0060.00326.35
8.1.250.0050.00328.09
8.1.240.0040.00423.57
8.1.230.0090.00322.60
8.1.220.0040.00419.40
8.1.210.0060.00320.41
8.1.200.0050.00518.98
8.1.190.0040.00418.98
8.1.180.0090.00019.17
8.1.170.0000.00820.25
8.1.160.0070.00020.28
8.1.150.0000.00820.18
8.1.140.0040.00420.84
8.1.130.0050.00220.45
8.1.120.0000.00719.38
8.1.110.0000.00819.50
8.1.100.0040.00419.25
8.1.90.0000.00819.18
8.1.80.0040.00419.16
8.1.70.0070.00019.45
8.1.60.0030.00619.48
8.1.50.0080.00019.66
8.1.40.0040.00419.23
8.1.30.0040.00419.66
8.1.20.0000.00919.80
8.1.10.0030.00619.58
8.1.00.0070.00319.40
8.0.300.0080.00021.66
8.0.290.0000.00818.63
8.0.280.0050.00219.74
8.0.270.0070.00718.94
8.0.260.0030.00319.01
8.0.250.0000.00718.84
8.0.240.0030.00618.75
8.0.230.0030.00618.83
8.0.220.0000.00818.77
8.0.210.0050.00218.84
8.0.200.0000.00718.76
8.0.190.0000.00718.91
8.0.180.0040.00418.77
8.0.170.0030.00618.91
8.0.160.0070.00018.68
8.0.150.0050.00318.57
8.0.140.0040.00418.68
8.0.130.0000.00513.27
8.0.120.0000.00819.00
8.0.110.0040.00418.96
8.0.100.0000.00818.77
8.0.90.0040.00418.57
8.0.80.0030.01319.06
8.0.70.0050.00319.11
8.0.60.0050.00319.07
8.0.50.0030.00518.95
8.0.30.0090.00819.24
8.0.20.0110.00819.11
8.0.10.0050.00319.21
8.0.00.0140.00818.73
7.4.330.0000.00515.55
7.4.320.0030.00318.84
7.4.300.0030.00318.84
7.4.290.0030.00518.79
7.4.280.0090.00018.69
7.4.270.0050.00218.82
7.4.260.0030.00618.74
7.4.250.0050.00318.68
7.4.240.0050.00318.71
7.4.230.0040.00418.70
7.4.220.0060.00318.63
7.4.210.0000.01518.92
7.4.200.0000.00718.91
7.4.160.0080.01018.73
7.4.150.0030.01518.55
7.4.140.0130.01018.66
7.4.130.0140.00518.71
7.4.120.0090.01418.64
7.4.110.0030.01418.50
7.4.100.0080.01118.41
7.4.90.0070.01118.50
7.4.80.0100.01419.39
7.4.70.0190.00418.73
7.4.60.0080.00918.64
7.4.50.0100.00718.55
7.4.40.0060.01218.34
7.4.00.0090.00617.13
7.3.330.0000.00612.99
7.3.320.0000.00613.08
7.3.310.0050.00218.66
7.3.300.0050.00318.58
7.3.290.0120.00518.68
7.3.280.0090.00718.60
7.3.270.0190.01918.63
7.3.260.0150.00918.72
7.3.250.0110.00718.68
7.3.240.0100.01218.92
7.3.230.0090.00918.87
7.3.210.0030.01519.03
7.3.200.0090.00918.65
7.3.190.0150.00318.63
7.3.180.0040.01318.77
7.3.170.0070.01018.61
7.3.160.0090.00918.43
7.3.10.0070.01018.85
7.3.00.0030.01318.48
7.2.330.0040.01418.96
7.2.320.0060.01218.89
7.2.310.0090.01219.15
7.2.300.0110.00818.75
7.2.290.0120.00618.89
7.2.130.0080.00819.03
7.2.120.0030.01019.00
7.2.110.0030.01219.23
7.2.100.0080.00818.88
7.2.90.0140.00319.26
7.2.80.0070.01019.11
7.2.70.0090.00619.07
7.2.60.0080.00918.90
7.2.50.0060.01019.04
7.2.40.0070.01019.13
7.2.30.0080.00418.95
7.2.20.0000.01318.80
7.2.10.0050.01220.77
7.2.00.0120.00720.92
7.1.250.0120.00318.03
7.1.240.0040.01117.93
7.1.230.0090.00617.71
7.1.220.0100.00017.86
7.1.210.0070.00717.54
7.1.200.0080.00417.97
7.1.190.0030.00617.71
7.1.180.0040.01217.57
7.1.170.0040.01217.67
7.1.160.0110.00417.71
7.1.150.0040.01217.44
7.1.140.0090.00317.80
7.1.130.0060.00819.48
7.1.120.0050.00719.45
7.1.110.0080.00819.27
7.1.100.0070.00719.11
7.1.90.0070.00919.14
7.1.80.0060.01219.07
7.1.70.0040.00818.77
7.1.60.0080.01326.38
7.1.50.0070.02026.30
7.1.40.0130.00826.17
7.1.30.0230.00826.06
7.1.20.0150.01526.09
7.1.10.0110.00918.49
7.1.00.0070.00818.40
7.0.330.0000.01417.28
5.6.380.0130.00316.85

preferences:
31.23 ms | 400 KiB | 5 Q