3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'fr_FR', 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.0120.00618.36
8.3.50.0200.01022.20
8.3.40.0090.00620.23
8.3.30.0090.00620.46
8.3.20.0080.00021.72
8.3.10.0080.00025.40
8.3.00.0080.00025.46
8.2.180.0070.01418.75
8.2.170.0120.00922.96
8.2.160.0110.00421.97
8.2.150.0000.00825.66
8.2.140.0130.00624.66
8.2.130.0030.00621.95
8.2.120.0080.00026.35
8.2.110.0000.01023.23
8.2.100.0080.00419.66
8.2.90.0030.00620.84
8.2.80.0030.00719.63
8.2.70.0000.01019.50
8.2.60.0050.00319.80
8.2.50.0050.00519.25
8.2.40.0030.00622.10
8.2.30.0040.00422.24
8.2.20.0080.00019.54
8.2.10.0050.00319.97
8.2.00.0000.00820.00
8.1.280.0120.00325.92
8.1.270.0030.00623.55
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0160.01023.71
8.1.230.0040.01019.77
8.1.220.0000.00819.66
8.1.210.0060.00319.23
8.1.200.0090.00619.22
8.1.190.0050.00819.11
8.1.180.0080.00019.23
8.1.170.0000.00820.55
8.1.160.0000.00822.28
8.1.150.0040.00420.38
8.1.140.0030.00621.49
8.1.130.0040.00419.63
8.1.120.0080.00019.53
8.1.110.0040.00419.35
8.1.100.0000.00819.43
8.1.90.0030.00619.25
8.1.80.0060.00619.29
8.1.70.0030.00519.48
8.1.60.0040.00419.52
8.1.50.0030.00619.47
8.1.40.0050.00319.40
8.1.30.0030.00619.82
8.1.20.0000.00819.74
8.1.10.0030.00619.63
8.1.00.0040.00419.68
8.0.300.0050.00318.77
8.0.290.0000.00818.63
8.0.280.0000.00719.98
8.0.270.0040.00419.28
8.0.260.0030.00319.25
8.0.250.0030.00419.01
8.0.240.0000.00819.03
8.0.230.0040.00418.86
8.0.220.0040.00418.89
8.0.210.0040.00418.94
8.0.200.0070.00019.00
8.0.190.0040.00718.90
8.0.180.0080.00018.88
8.0.170.0050.00318.85
8.0.160.0040.00418.90
8.0.150.0080.00218.72
8.0.140.0060.00618.95
8.0.130.0000.00613.40
8.0.120.0060.00318.89
8.0.110.0000.00819.06
8.0.100.0040.00419.08
8.0.90.0030.00519.00
8.0.80.0090.00918.77
8.0.70.0040.00418.90
8.0.60.0030.00519.14
8.0.50.0080.00018.96
8.0.30.0110.00919.16
8.0.20.0160.00619.17
8.0.10.0040.00419.23
8.0.00.0090.01218.99
7.4.330.0050.00016.83
7.4.320.0000.00718.54
7.4.300.0090.00018.50
7.4.290.0000.00818.84
7.4.280.0040.00818.84
7.4.270.0040.00418.75
7.4.260.0040.00418.75
7.4.250.0040.00418.50
7.4.240.0040.00418.76
7.4.230.0040.00418.66
7.4.220.0170.00318.72
7.4.210.0130.00518.79
7.4.200.0000.00818.70
7.4.160.0060.01018.48
7.4.150.0090.00918.64
7.4.140.0050.01718.60
7.4.130.0140.00718.56
7.4.120.0130.00818.46
7.4.110.0090.00918.64
7.4.100.0170.00718.40
7.4.90.0120.00618.57
7.4.80.0070.01319.39
7.4.70.0150.00318.51
7.4.60.0130.00318.57
7.4.50.0040.01418.57
7.4.40.0120.00918.43
7.4.30.0090.00918.40
7.4.00.0040.01416.93
7.3.330.0000.00513.10
7.3.320.0000.00513.00
7.3.310.0030.00418.25
7.3.300.0050.00218.38
7.3.290.0040.00418.30
7.3.280.0060.01418.28
7.3.270.0070.01118.36
7.3.260.0100.00718.61
7.3.250.0120.00618.39
7.3.240.0070.01218.55
7.3.230.0090.01318.68
7.3.210.0060.01218.30
7.3.200.0100.00719.39
7.3.190.0060.01318.44
7.3.180.0070.01518.61
7.3.170.0030.01318.34
7.3.160.0100.01318.43
7.2.330.0100.01418.62
7.2.320.0120.01518.43
7.2.310.0060.01218.75
7.2.300.0080.01418.75
7.2.290.0230.00318.97
7.2.60.0220.00918.96
7.2.00.0070.01021.76
7.1.200.0160.00017.89
7.1.100.0290.00418.29
7.1.70.0000.00819.48
7.1.60.0170.00319.56
7.1.50.0030.02019.29
7.1.00.0100.07024.84
7.0.200.0100.00018.73
7.0.60.0030.08023.85
7.0.50.0030.04017.77
7.0.40.0070.05321.80
7.0.30.0330.04322.25
7.0.20.0370.05021.82
7.0.10.0070.08722.04
7.0.00.0000.05721.90
5.6.280.0000.03723.01
5.6.210.0070.08722.55
5.6.200.0070.06718.16
5.6.190.0030.05022.24
5.6.180.0270.04722.78
5.6.170.0330.07322.26
5.6.160.0030.05022.43
5.6.150.0000.08018.15
5.6.140.0070.04718.16
5.6.130.0000.08318.22
5.6.120.0070.08322.79
5.6.110.0070.04022.80
5.6.100.0070.04322.95
5.6.90.0030.09022.90
5.6.80.0030.08322.45
5.5.350.0470.06322.54
5.5.340.0070.08317.91
5.5.330.0130.08021.98
5.5.320.0530.07321.99
5.5.310.0270.07322.39
5.5.300.0100.08017.97
5.5.290.0100.07717.88
5.5.280.0130.07022.84
5.5.270.0100.07322.82
5.5.260.0030.06322.51
5.5.250.0130.07722.80
5.5.240.0200.07722.18

preferences:
51.96 ms | 401 KiB | 5 Q