3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'de_DE', NumberFormatter::CURRENCY ); echo $fmt->format(1234567.891234567890000); if(intl_is_failure($fmt->getErrorCode())) { report_error("Erreur de formateur"); }

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.0110.00720.31
8.3.50.0130.00318.50
8.3.40.0060.00920.34
8.3.30.0080.00820.29
8.3.20.0080.00021.84
8.3.10.0050.00325.46
8.3.00.0040.00425.28
8.2.180.0160.00618.50
8.2.170.0030.01322.96
8.2.160.0040.01121.97
8.2.150.0080.00025.66
8.2.140.0130.00624.66
8.2.130.0000.00921.82
8.2.120.0000.00826.35
8.2.110.0050.00523.18
8.2.100.0090.00319.59
8.2.90.0050.00519.63
8.2.80.0040.00720.07
8.2.70.0060.00919.38
8.2.60.0000.00819.80
8.2.50.0030.00619.38
8.2.40.0030.00523.63
8.2.30.0080.00022.17
8.2.20.0040.00419.63
8.2.10.0000.00820.09
8.2.00.0000.00820.14
8.1.280.0060.01225.92
8.1.270.0100.01423.55
8.1.260.0050.00328.09
8.1.250.0030.00528.09
8.1.240.0150.00322.21
8.1.230.0090.00322.90
8.1.220.0080.00019.66
8.1.210.0030.00520.72
8.1.200.0060.00319.10
8.1.190.0000.00919.22
8.1.180.0050.00319.41
8.1.170.0030.00620.59
8.1.160.0080.00022.31
8.1.150.0050.00520.29
8.1.140.0040.00421.60
8.1.130.0080.00019.63
8.1.120.0050.00319.52
8.1.110.0000.00819.42
8.1.100.0000.00919.53
8.1.90.0040.00419.46
8.1.80.0070.00319.45
8.1.70.0040.00419.46
8.1.60.0070.00319.55
8.1.50.0030.00719.31
8.1.40.0050.00319.49
8.1.30.0060.00319.61
8.1.20.0030.00619.75
8.1.10.0000.00819.70
8.1.00.0080.00019.63
8.0.300.0040.00421.40
8.0.290.0050.00318.88
8.0.280.0030.00519.94
8.0.270.0040.00419.15
8.0.260.0070.00019.30
8.0.250.0000.00718.96
8.0.240.0000.00918.98
8.0.230.0000.00718.86
8.0.220.0000.00818.82
8.0.210.0000.00818.88
8.0.200.0030.00318.75
8.0.190.0040.00818.90
8.0.180.0050.00318.82
8.0.170.0030.00719.02
8.0.160.0020.00518.84
8.0.150.0070.00018.72
8.0.140.0050.00518.88
8.0.130.0080.00013.37
8.0.120.0040.00419.00
8.0.110.0090.00018.89
8.0.100.0040.00418.98
8.0.90.0040.00418.77
8.0.80.0130.00918.86
8.0.70.0000.00818.88
8.0.60.0040.00418.81
8.0.50.0040.00419.00
8.0.30.0060.01618.99
8.0.20.0070.01219.06
8.0.10.0000.00819.14
8.0.00.0080.01318.85
7.4.330.0000.00616.89
7.4.320.0000.00718.67
7.4.300.0000.00618.48
7.4.290.0040.00418.48
7.4.280.0070.00318.61
7.4.270.0000.00718.57
7.4.260.0000.00718.70
7.4.250.0080.00018.52
7.4.240.0040.00418.54
7.4.230.0040.00418.69
7.4.220.0060.01318.57
7.4.210.0070.01018.59
7.4.200.0000.00718.75
7.4.160.0070.01018.81
7.4.150.0150.00318.41
7.4.140.0060.01318.49
7.4.130.0120.00918.40
7.4.120.0140.00518.39
7.4.110.0030.01518.41
7.4.100.0160.00318.62
7.4.90.0030.01418.66
7.4.80.0060.01219.39
7.4.70.0120.00618.35
7.4.60.0090.00818.46
7.4.50.0120.00618.54
7.4.40.0140.00418.70
7.4.30.0090.00918.43
7.4.00.0070.01116.72
7.3.330.0060.00013.15
7.3.320.0030.00313.18
7.3.310.0000.00718.10
7.3.300.0000.00718.29
7.3.290.0070.00018.08
7.3.280.0060.01118.17
7.3.270.0180.00018.60
7.3.260.0090.01018.23
7.3.250.0090.00818.44
7.3.240.0100.00718.47
7.3.230.0100.00718.27
7.3.210.0060.01318.36
7.3.200.0070.01119.39
7.3.190.0060.01218.40
7.3.180.0000.01818.43
7.3.170.0030.01418.23
7.3.160.0110.00718.46
7.2.330.0130.00618.79
7.2.320.0130.01018.73
7.2.310.0070.01018.39
7.2.300.0090.01218.77
7.2.290.0110.00718.72
7.2.60.0400.00318.62
7.2.00.0090.00321.55
7.1.200.0050.00917.56
7.1.100.0780.01918.03
7.1.70.0060.00319.18
7.1.60.0160.00919.43
7.1.50.0090.01319.14
7.1.00.0000.08024.82
7.0.200.0060.00619.10
7.0.60.0030.06323.77
7.0.50.0030.04017.83
7.0.40.0000.04721.95
7.0.30.0300.03721.99
7.0.20.0330.08021.99
7.0.10.0070.08321.97
7.0.00.0070.04721.91
5.6.280.0030.03323.16
5.6.210.0070.06722.61
5.6.200.0100.04318.16
5.6.190.0100.04322.42
5.6.180.0400.07022.34
5.6.170.0270.06322.24
5.6.160.0030.08322.20
5.6.150.0100.07718.22
5.6.140.0070.08318.11
5.6.130.0070.08718.09
5.6.120.0130.08023.09
5.6.110.0000.07723.08
5.6.100.0100.04322.88
5.6.90.0130.06322.87
5.6.80.0100.05022.50
5.5.350.0270.04722.46
5.5.340.0000.04317.96
5.5.330.0070.09021.96
5.5.320.0200.08022.13
5.5.310.0330.06022.04
5.5.300.0130.07717.89
5.5.290.0130.07317.88
5.5.280.0000.06322.79
5.5.270.0070.05022.66
5.5.260.0170.06722.75
5.5.250.0030.09022.74
5.5.240.0270.06322.32

preferences:
40.75 ms | 400 KiB | 5 Q