3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'de-DE', NumberFormatter::CURRENCY ); echo $fmt->formatCurrency(1234567.891234567890000, "EUR")."\n"; echo $fmt->formatCurrency(1234567.891234567890000, "RUR")."\n"; $fmt = new NumberFormatter( 'ru-RU', NumberFormatter::CURRENCY ); echo $fmt->formatCurrency(1234567.891234567890000, "EUR")."\n"; echo $fmt->formatCurrency(1234567.891234567890000, "RUR")."\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.60.0170.01018.63
8.3.50.0220.00722.32
8.3.40.0130.00620.45
8.3.30.0100.01020.41
8.3.20.0000.00822.08
8.3.10.0060.00323.65
8.3.00.0080.00022.06
8.2.180.0160.00018.49
8.2.170.0180.00322.96
8.2.160.0140.00022.26
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0110.00019.75
8.2.110.0110.00024.12
8.2.100.0090.00320.00
8.2.90.0030.00721.02
8.2.80.0030.00619.88
8.2.70.0060.00319.75
8.2.60.0030.00620.30
8.2.50.0030.00519.75
8.2.40.0060.00321.63
8.2.30.0040.00421.93
8.2.20.0000.00819.79
8.2.10.0080.00020.10
8.2.00.0040.00420.09
8.1.280.0190.00325.92
8.1.270.0040.00422.25
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00324.17
8.1.230.0080.00819.48
8.1.220.0030.00619.66
8.1.210.0080.00019.38
8.1.200.0030.00619.72
8.1.190.0060.00319.48
8.1.180.0030.00519.76
8.1.170.0060.00320.89
8.1.160.0050.00323.72
8.1.150.0000.00820.60
8.1.140.0000.00919.58
8.1.130.0030.00620.03
8.1.120.0000.00819.88
8.1.110.0000.00819.67
8.1.100.0080.00019.69
8.1.90.0040.00419.79
8.1.80.0030.00519.69
8.1.70.0030.00519.64
8.1.60.0070.00319.86
8.1.50.0040.00419.80
8.1.40.0040.00419.77
8.1.30.0080.00819.99
8.1.20.0050.00320.00
8.1.10.0000.00819.76
8.1.00.0000.00819.85
8.0.300.0150.00019.16
8.0.290.0080.00019.00
8.0.280.0040.00420.07
8.0.270.0040.00419.46
8.0.260.0030.00319.45
8.0.250.0080.00019.34
8.0.240.0000.00719.27
8.0.230.0000.00819.36
8.0.220.0080.00019.08
8.0.210.0040.00419.22
8.0.200.0030.00319.39
8.0.190.0030.00819.30
8.0.180.0050.00319.15
8.0.170.0000.01019.33
8.0.160.0000.00819.01
8.0.150.0000.00918.97
8.0.140.0050.00519.15
8.0.130.0000.00513.30
8.0.120.0030.00619.28
8.0.110.0040.00419.29
8.0.100.0030.00519.34
8.0.90.0040.00419.12
8.0.80.0060.01319.27
8.0.70.0000.00919.28
8.0.60.0030.00619.07
8.0.50.0000.00819.06
8.0.30.0100.01119.26
8.0.20.0110.00919.18
8.0.10.0000.00819.25
8.0.00.0080.01219.11
7.4.330.0060.00015.08
7.4.320.0040.00418.94
7.4.300.0000.00718.79
7.4.290.0030.00618.89
7.4.280.0060.00318.83
7.4.270.0000.00818.83
7.4.260.0000.00718.70
7.4.250.0040.00418.89
7.4.240.0030.00518.89
7.4.230.0000.00719.02
7.4.220.0100.01618.92
7.4.210.0130.01018.84
7.4.200.0000.00818.75
7.4.160.0140.00618.79
7.4.150.0120.00618.84
7.4.140.0100.01318.53
7.4.130.0100.01318.56
7.4.120.0110.01118.70
7.4.110.0060.01219.01
7.4.100.0120.00618.56
7.4.90.0030.01518.80
7.4.80.0130.00619.39
7.4.70.0070.01018.72
7.4.60.0090.00918.81
7.4.50.0030.00618.53
7.4.40.0070.01518.84
7.4.30.0140.01018.94
7.4.00.0000.01717.04
7.3.330.0060.00013.05
7.3.320.0020.00213.03
7.3.310.0060.00318.54
7.3.300.0080.00018.46
7.3.290.0120.01218.56
7.3.280.0080.01218.52
7.3.270.0130.00618.62
7.3.260.0140.01018.82
7.3.250.0100.00818.76
7.3.240.0120.00918.52
7.3.230.0150.00818.89
7.3.210.0100.01018.58
7.3.200.0110.00718.67
7.3.190.0070.01118.83
7.3.180.0040.01818.95
7.3.170.0060.01218.78
7.3.160.0060.01318.67
7.3.120.0100.00817.14
7.3.110.0020.01417.04
7.3.100.0060.00717.07
7.3.90.0060.01117.08
7.3.80.0050.00917.14
7.3.70.0100.00516.80
7.3.60.0060.01017.05
7.3.50.0060.00716.84
7.3.40.0080.00816.98
7.3.30.0030.01417.14
7.3.20.0030.01418.55
7.3.10.0100.00518.71
7.3.00.0060.01118.67
7.2.330.0140.00718.77
7.2.320.0130.00618.83
7.2.310.0090.01218.88
7.2.300.0210.00318.55
7.2.290.0040.01518.75
7.2.240.0020.01617.33
7.2.230.0020.01517.41
7.2.220.0120.00317.32
7.2.210.0060.00917.42
7.2.200.0080.00917.33
7.2.190.0100.00817.42
7.2.180.0090.00517.24
7.2.170.0060.00817.22
7.2.160.0030.01117.25
7.2.150.0050.00819.01
7.2.140.0050.01119.06
7.2.130.0090.00818.91
7.2.120.0050.01419.12
7.2.110.0070.00719.15
7.2.100.0050.01019.21
7.2.90.0060.00819.23
7.2.80.0050.00819.22
7.2.70.0090.00619.14
7.2.60.0120.00518.93
7.2.50.0060.01319.20
7.2.40.0070.01119.21
7.2.30.0110.00519.12
7.2.20.0050.01219.20
7.2.10.0080.00819.22
7.2.00.0060.01020.12
7.1.330.0030.01017.70
7.1.320.0050.01117.82
7.1.310.0080.00817.76
7.1.300.0090.00717.83
7.1.290.0120.00517.76
7.1.280.0070.00917.87
7.1.270.0030.01217.86
7.1.260.0100.00417.96
7.1.250.0050.00817.92
7.1.200.0030.01017.57
7.1.100.0000.01420.38
7.1.70.0030.01219.46
7.1.60.0150.01220.03
7.1.50.0100.00719.54
7.1.00.0030.07324.87
7.0.200.0000.01219.30
7.0.60.0070.03722.20
7.0.50.0070.05717.81
7.0.40.0030.09022.18
7.0.30.0330.07322.38
7.0.20.0270.07722.20
7.0.10.0170.07722.42
7.0.00.0100.07022.18
5.6.280.0000.04323.25
5.6.210.0030.07022.68
5.6.200.0070.04318.24
5.6.190.0070.08722.60
5.6.180.0030.08722.53
5.6.170.0370.07722.64
5.6.160.0030.09322.51
5.6.150.0070.08318.11
5.6.140.0000.04318.11
5.6.130.0000.04318.11
5.6.120.0070.04023.29
5.6.110.0030.04323.17
5.6.100.0000.07723.13
5.6.90.0070.04023.39
5.6.80.0030.08322.70
5.5.350.4200.04722.68
5.5.340.0030.05717.91
5.5.330.0100.03722.30
5.5.320.0200.06722.52
5.5.310.0230.04722.29
5.5.300.0130.07717.97
5.5.290.0000.04317.92
5.5.280.0100.04023.04
5.5.270.0030.08723.10
5.5.260.0030.08022.73
5.5.250.0100.08322.62
5.5.240.0100.05722.26
5.4.450.0130.05721.64
5.4.440.0170.06021.79
5.4.430.0500.07021.44
5.4.420.0170.05321.59
5.4.410.0030.06321.25
5.4.400.0370.06320.96
5.4.390.0170.05021.28
5.4.380.0100.05320.95
5.4.370.0300.05321.32
5.4.360.0170.05020.96
5.4.350.0000.06321.05
5.4.340.0300.05321.01
5.4.320.0130.05021.32
5.4.310.0200.04321.28
5.4.300.0170.04721.27
5.4.290.0200.05321.31
5.4.280.0230.04321.11
5.4.270.0200.04721.20
5.4.260.0170.04721.27
5.4.250.0230.04321.27
5.4.240.0130.05321.20
5.4.230.0100.06021.02
5.4.220.0130.05721.30
5.4.210.0100.05321.07
5.4.200.0230.04720.78
5.4.190.0130.06021.30
5.4.180.0130.05021.45
5.4.170.0200.05021.22
5.4.160.0170.05020.95
5.4.150.0070.06021.29
5.4.140.0070.05718.63
5.4.130.0370.04018.39
5.4.120.0130.04718.50
5.4.110.0230.04318.65
5.4.100.0400.05318.52
5.4.90.0570.06018.67
5.4.80.0200.05018.17
5.4.70.0270.07018.78
5.4.60.0230.06018.86
5.4.50.0270.07018.38
5.4.40.0300.07318.85
5.4.30.0130.05718.38
5.4.20.0270.04318.18
5.4.10.0300.07018.56

preferences:
42.73 ms | 401 KiB | 5 Q