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.02019.44
8.3.50.0100.02319.04
8.3.40.0100.00720.26
8.3.30.0060.00920.42
8.3.20.0000.00821.82
8.3.10.0000.00825.35
8.3.00.0040.00421.26
8.2.180.0130.01321.23
8.2.170.0120.00322.96
8.2.160.0090.00623.86
8.2.150.0030.00524.18
8.2.140.0030.00624.66
8.2.130.0060.00323.30
8.2.120.0090.00026.35
8.2.110.0090.00023.83
8.2.100.0090.00319.91
8.2.90.0040.00420.03
8.2.80.0030.00620.66
8.2.70.0040.00420.05
8.2.60.0000.00819.93
8.2.50.0030.00620.16
8.2.40.0040.00422.27
8.2.30.0040.00421.18
8.2.20.0040.00420.20
8.2.10.0060.00320.27
8.2.00.0040.00420.40
8.1.280.0070.02025.92
8.1.270.0080.00021.76
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0060.00323.89
8.1.230.0060.00623.19
8.1.220.0080.00019.91
8.1.210.0060.00320.82
8.1.200.0060.00619.60
8.1.190.0030.00619.48
8.1.180.0040.00419.65
8.1.170.0040.00420.68
8.1.160.0000.00820.52
8.1.150.0040.00420.46
8.1.140.0000.00721.30
8.1.130.0050.00220.72
8.1.120.0030.00519.76
8.1.110.0030.00519.88
8.1.100.0040.00419.70
8.1.90.0030.00519.80
8.1.80.0060.00319.86
8.1.70.0000.00819.74
8.1.60.0000.00920.02
8.1.50.0060.00319.95
8.1.40.0060.00319.92
8.1.30.0000.00820.16
8.1.20.0040.00420.15
8.1.10.0030.00619.86
8.1.00.0000.00919.81
8.0.300.0040.00421.91
8.0.290.0050.00319.00
8.0.280.0040.00420.12
8.0.270.0070.00419.45
8.0.260.0000.00719.36
8.0.250.0030.00519.21
8.0.240.0060.00319.21
8.0.230.0040.00419.16
8.0.220.0080.00019.02
8.0.210.0000.00719.03
8.0.200.0000.00719.20
8.0.190.0040.00419.25
8.0.180.0040.00419.03
8.0.170.0090.00019.24
8.0.160.0040.00419.01
8.0.150.0040.00418.88
8.0.140.0040.00419.23
8.0.130.0030.00313.23
8.0.120.0080.00019.21
8.0.110.0000.00819.25
8.0.100.0030.00519.39
8.0.90.0000.00819.08
8.0.80.0090.01019.39
8.0.70.0040.00419.21
8.0.60.0000.00819.24
8.0.50.0000.00819.40
8.0.30.0090.01019.34
8.0.20.0100.01119.44
8.0.10.0000.00819.39
8.0.00.0100.01118.94
7.4.330.0000.00515.55
7.4.320.0000.00718.84
7.4.300.0000.00718.82
7.4.290.0060.00318.84
7.4.280.0060.00318.62
7.4.270.0040.00418.82
7.4.260.0000.00718.72
7.4.250.0030.00518.68
7.4.240.0000.00818.83
7.4.230.0070.00018.64
7.4.220.0040.00418.91
7.4.210.0070.01018.93
7.4.200.0040.00418.91
7.4.160.0090.00918.69
7.4.150.0110.00818.70
7.4.140.0090.01018.71
7.4.130.0090.01818.70
7.4.120.0120.01118.68
7.4.110.0030.01618.67
7.4.100.0110.00718.55
7.4.90.0090.00918.60
7.4.80.0130.00719.39
7.4.70.0090.01518.85
7.4.60.0100.00718.55
7.4.50.0060.00918.67
7.4.40.0160.00318.44
7.4.00.0050.01017.22
7.3.330.0000.00513.09
7.3.320.0030.00313.13
7.3.310.0050.00318.50
7.3.300.0000.00718.65
7.3.290.0060.00918.57
7.3.280.0100.00818.54
7.3.270.0130.00618.70
7.3.260.0100.01118.74
7.3.250.0060.01218.84
7.3.240.0110.00718.79
7.3.230.0070.01118.78
7.3.210.0110.00718.95
7.3.200.0130.00318.69
7.3.190.0170.00318.78
7.3.180.0090.01218.90
7.3.170.0070.01018.56
7.3.160.0170.00018.58
7.3.120.0150.00617.14
7.3.110.0150.00317.07
7.3.100.0060.01117.18
7.3.90.0120.00017.18
7.3.80.0100.00317.45
7.3.70.0030.01217.16
7.3.60.0120.00617.03
7.3.50.0050.00517.26
7.3.40.0000.01517.04
7.3.30.0040.00716.90
7.3.20.0030.01318.41
7.3.10.0060.00818.78
7.3.00.0000.01418.76
7.2.330.0090.00918.65
7.2.320.0100.01018.68
7.2.310.0060.01618.69
7.2.300.0150.00618.64
7.2.290.0070.01019.27
7.2.250.0060.01217.52
7.2.240.0140.00717.49
7.2.230.0070.00717.22
7.2.220.0070.00717.14
7.2.210.0100.00717.28
7.2.200.0070.00317.26
7.2.190.0070.00717.27
7.2.180.0000.01017.32
7.2.170.0090.00617.05
7.2.60.0000.01119.06
7.2.10.0080.01422.56
7.2.00.0030.01322.45
7.1.330.0100.00317.65
7.1.320.0000.01417.94
7.1.310.0070.00717.95
7.1.300.0060.00917.83
7.1.290.0100.00317.79
7.1.280.0040.01517.61
7.1.270.0070.00718.05
7.1.260.0060.00917.56
7.1.200.0090.00317.73
7.1.130.0060.00921.43
7.1.120.0060.00921.29
7.1.110.0030.01120.69
7.1.100.0090.00920.50
7.1.90.0060.00920.44
7.1.80.0100.00320.52
7.1.70.0000.01419.47
7.1.60.0140.01435.14
7.1.50.0130.01634.85
7.1.40.0210.00634.16
7.1.30.0160.01034.23
7.1.20.0230.00334.48
7.1.10.0030.01018.82
7.1.00.0040.01118.99

preferences:
65.66 ms | 401 KiB | 5 Q