3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'en_EN', 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.0070.02719.37
8.3.50.0100.01718.86
8.3.40.0080.00820.25
8.3.30.0090.00620.32
8.3.20.0070.00021.95
8.3.10.0070.00325.09
8.3.00.0040.00425.02
8.2.180.0170.02021.49
8.2.170.0110.00822.96
8.2.160.0070.00721.66
8.2.150.0030.00625.66
8.2.140.0030.01624.66
8.2.130.0090.00021.52
8.2.120.0080.00026.35
8.2.110.0070.00323.11
8.2.100.0060.00619.78
8.2.90.0000.00820.76
8.2.80.0030.00619.38
8.2.70.0080.00319.50
8.2.60.0000.00819.91
8.2.50.0040.00419.25
8.2.40.0060.00321.85
8.2.30.0080.00022.18
8.2.20.0050.00319.69
8.2.10.0040.00420.00
8.2.00.0030.00520.07
8.1.280.0100.03325.92
8.1.270.0060.00323.51
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0000.01824.17
8.1.230.0110.00019.70
8.1.220.0000.00819.52
8.1.210.0040.00419.11
8.1.200.0000.01019.13
8.1.190.0000.00819.10
8.1.180.0060.00319.22
8.1.170.0050.00320.39
8.1.160.0000.00922.23
8.1.150.0000.00920.46
8.1.140.0030.00621.38
8.1.130.0000.00719.65
8.1.120.0000.00719.42
8.1.110.0030.00519.48
8.1.100.0050.00319.44
8.1.90.0000.00819.27
8.1.80.0050.00519.20
8.1.70.0000.00719.50
8.1.60.0040.00419.64
8.1.50.0060.00319.50
8.1.40.0090.00019.62
8.1.30.0000.00919.63
8.1.20.0000.00819.67
8.1.10.0080.00019.72
8.1.00.0040.00419.63
8.0.300.0050.00318.77
8.0.290.0040.00418.50
8.0.280.0080.00019.88
8.0.270.0040.00419.20
8.0.260.0000.00819.15
8.0.250.0000.00718.91
8.0.240.0000.00818.83
8.0.230.0040.00418.89
8.0.220.0000.00718.91
8.0.210.0030.00318.77
8.0.200.0000.00718.94
8.0.190.0030.00618.94
8.0.180.0000.00818.73
8.0.170.0030.00518.83
8.0.160.0050.00218.85
8.0.150.0030.00618.67
8.0.140.0060.00318.70
8.0.130.0000.00813.32
8.0.120.0030.00618.91
8.0.110.0050.00319.05
8.0.100.0000.00818.88
8.0.90.0000.00818.88
8.0.80.0110.00718.98
8.0.70.0070.00018.93
8.0.60.0040.00418.91
8.0.50.0080.00018.86
8.0.30.0090.01119.05
8.0.20.0100.00919.06
8.0.10.0080.00018.99
8.0.00.0070.01218.93
7.4.330.0020.00216.73
7.4.320.0030.00318.40
7.4.300.0030.00318.72
7.4.290.0060.00318.62
7.4.280.0070.00718.60
7.4.270.0000.00718.60
7.4.260.0000.00718.55
7.4.250.0050.00218.66
7.4.240.0010.00618.50
7.4.230.0050.00218.63
7.4.220.0030.01618.48
7.4.210.0060.00918.58
7.4.200.0000.00718.42
7.4.160.0090.00918.43
7.4.150.0190.00018.46
7.4.140.0100.01218.46
7.4.130.0120.00918.71
7.4.120.0100.00918.44
7.4.110.0090.00918.50
7.4.100.0050.01818.35
7.4.90.0030.01418.32
7.4.80.0110.00819.39
7.4.70.0100.00718.49
7.4.60.0030.01318.36
7.4.50.0110.00718.32
7.4.40.0090.00918.64
7.4.30.0120.00618.36
7.4.00.0060.01116.80
7.3.330.0030.00313.11
7.3.320.0000.00513.16
7.3.310.0000.00718.33
7.3.300.0000.00718.14
7.3.290.0040.00418.20
7.3.280.0050.01218.24
7.3.270.0090.00918.35
7.3.260.0070.01518.48
7.3.250.0120.00618.43
7.3.240.0160.00318.41
7.3.230.0130.00618.42
7.3.210.0060.01318.49
7.3.200.0100.01019.39
7.3.190.0100.01318.62
7.3.180.0030.01418.46
7.3.170.0120.00918.47
7.3.160.0130.01018.61
7.2.330.0150.00818.52
7.2.320.0150.00718.59
7.2.310.0070.01718.86
7.2.300.0090.00918.49
7.2.290.0110.00718.64
7.2.60.0360.00318.22
7.2.00.0030.01021.42
7.1.200.0060.00617.56
7.1.100.0160.01118.27
7.1.70.0050.00319.18
7.1.60.0100.01019.54
7.1.50.0110.01118.98
7.1.00.0070.07724.78
7.0.200.0000.00918.86
7.0.60.0000.08723.82
7.0.50.0000.04317.79
7.0.40.0030.05021.96
7.0.30.0370.06321.83
7.0.20.0270.08322.04
7.0.10.0100.06021.98
7.0.00.0030.04322.02
5.6.280.0030.03322.92
5.6.210.0130.05722.46
5.6.200.0100.07018.19
5.6.190.0030.09722.50
5.6.180.0170.05722.50
5.6.170.0430.03722.35
5.6.160.0100.08022.13
5.6.150.0100.03718.22
5.6.140.0000.05018.15
5.6.130.0030.07318.11
5.6.120.0000.05022.95
5.6.110.0100.07023.07
5.6.100.0070.05722.82
5.6.90.0170.07023.04
5.6.80.0130.06722.27
5.5.350.0330.04022.42
5.5.340.0030.07717.98
5.5.330.0030.05322.07
5.5.320.0270.04722.16
5.5.310.0230.04721.97
5.5.300.0070.07017.90
5.5.290.0130.05017.90
5.5.280.0000.06722.82
5.5.270.0070.09022.93
5.5.260.0130.07722.75
5.5.250.0100.08022.60
5.5.240.0230.06322.26

preferences:
42.33 ms | 401 KiB | 5 Q