3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \NumberFormatter("fr-FR", \NumberFormatter::PERCENT); echo $a->format(0.12); // outputs 12.345,12

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.40.0070.00720.18
8.3.30.0030.01320.08
8.3.20.0030.00620.52
8.3.10.0110.00422.14
8.3.00.0040.00419.80
8.2.170.0080.00822.96
8.2.160.0110.00320.32
8.2.150.0040.01124.18
8.2.140.0000.00824.66
8.2.130.0030.00521.57
8.2.120.0070.00726.35
8.2.110.0040.00423.65
8.2.100.0090.00319.41
8.2.90.0030.00519.38
8.2.80.0030.00520.21
8.2.70.0000.00919.55
8.2.60.0030.00619.79
8.2.50.0060.00319.25
8.2.40.0030.00622.57
8.2.30.0040.00420.69
8.2.20.0040.00419.69
8.2.10.0000.00819.55
8.2.00.0040.00420.63
8.1.270.0060.00325.21
8.1.260.0070.01326.35
8.1.250.0000.00828.09
8.1.240.0060.00325.27
8.1.230.0130.00020.63
8.1.220.0040.00419.93
8.1.210.0080.00018.98
8.1.200.0000.00818.98
8.1.190.0080.00318.85
8.1.180.0000.00818.93
8.1.170.0060.00320.22
8.1.160.0020.00520.09
8.1.150.0030.00619.99
8.1.140.0040.00419.16
8.1.130.0030.00320.40
8.1.120.0000.00719.37
8.1.110.0050.00319.16
8.1.100.0040.00419.23
8.1.90.0040.00419.21
8.1.80.0040.00419.15
8.1.70.0000.00719.08
8.1.60.0080.00019.29
8.1.50.0040.00419.25
8.1.40.0000.00919.25
8.1.30.0000.00819.55
8.1.20.0000.00819.49
8.1.10.0040.00419.43
8.1.00.0000.00819.34
8.0.300.0040.00419.04
8.0.290.0000.00818.38
8.0.280.0030.00319.74
8.0.270.0000.00718.82
8.0.260.0030.00318.82
8.0.250.0040.00418.64
8.0.240.0050.00218.67
8.0.230.0000.00718.50
8.0.220.0070.00018.52
8.0.210.0030.00318.46
8.0.200.0030.00318.50
8.0.190.0040.00418.55
8.0.180.0000.00718.66
8.0.170.0060.00318.45
8.0.160.0040.00418.41
8.0.150.0000.00818.29
8.0.140.0060.00618.68
8.0.130.0060.00013.27
8.0.120.0040.00418.62
8.0.110.0050.00318.62
8.0.100.0000.00818.58
8.0.90.0050.00218.57
8.0.80.0080.01118.56
8.0.70.0040.00418.76
8.0.60.0000.00918.58
8.0.50.0020.00518.47
8.0.30.0090.00918.86
8.0.20.0070.01218.68
8.0.10.0050.00318.70
8.0.00.0140.00318.47
7.4.330.0020.00215.55
7.4.320.0070.00018.54
7.4.300.0000.00718.47
7.4.290.0040.00418.29
7.4.280.0040.00418.54
7.4.270.0070.00318.41
7.4.260.0020.00518.50
7.4.250.0040.00418.39
7.4.240.0000.00718.31
7.4.230.0000.00718.52
7.4.220.0000.00818.55
7.4.210.0090.00718.51
7.4.200.0040.00418.22
7.4.160.0090.00818.25
7.4.140.0110.00718.20
7.4.130.0120.00618.34
7.4.120.0110.00918.34
7.4.110.0080.01118.28
7.4.100.0090.00918.41
7.4.90.0210.00318.38
7.4.80.0100.01319.39
7.4.70.0120.00618.21
7.4.60.0030.01418.35
7.4.50.0040.01118.43
7.4.40.0090.00918.27
7.4.10.0030.01616.61
7.4.00.0100.00416.64
7.3.330.0050.00013.13
7.3.320.0000.00513.13
7.3.310.0040.00418.00
7.3.300.0030.00317.89
7.3.290.0000.00717.88
7.3.280.0120.00617.96
7.3.260.0070.01118.21
7.3.240.0120.00818.26
7.3.230.0100.00718.40
7.3.210.0150.00317.99
7.3.200.0070.01418.11
7.3.190.0080.01118.10
7.3.180.0130.00318.20
7.3.170.0100.00717.85
7.3.160.0040.01218.18
7.3.130.0110.00716.49
7.3.120.0040.01516.34
7.3.110.0040.01516.65
7.3.100.0100.00716.38
7.3.90.0040.01116.21
7.3.80.0000.00916.56
7.3.70.0030.01016.76
7.3.60.0130.00316.52
7.3.50.0040.01116.28
7.3.40.0040.00816.49
7.3.30.0090.00616.50
7.3.20.0070.00718.22
7.3.10.0080.00618.06
7.3.00.0100.00418.17
7.2.330.0120.00618.54
7.2.320.0150.01218.06
7.2.310.0120.00818.23
7.2.300.0040.01418.38
7.2.290.0130.01018.19
7.2.260.0000.01716.67
7.2.250.0090.00916.66
7.2.240.0070.00716.82
7.2.230.0070.00716.22
7.2.220.0070.00416.74
7.2.210.0070.00716.77
7.2.200.0060.00916.77
7.2.190.0040.00716.58
7.2.180.0110.00416.84
7.2.170.0120.00416.63
7.2.160.0030.01216.72
7.2.150.0000.01318.36
7.2.140.0040.01518.65
7.2.130.0060.00618.47
7.2.120.0060.00818.33
7.2.110.0070.00718.50
7.2.100.0060.00818.51
7.2.90.0060.00918.71
7.2.80.0080.00618.63
7.2.70.0040.00918.57
7.2.60.0730.01017.90
7.2.50.0860.01017.88
7.2.40.0890.01018.08
7.2.30.0920.00718.25
7.2.20.0840.00818.11
7.2.10.0940.01017.98
7.2.00.0930.00718.13
7.1.330.0100.00317.55
7.1.320.0090.00617.38
7.1.310.0100.00317.61
7.1.300.0070.00717.50
7.1.290.0060.01017.54
7.1.280.0030.00917.42
7.1.270.0000.01617.43
7.1.260.0080.00817.16
7.1.250.0070.00717.38
7.1.240.0060.01217.66
7.1.230.0030.01317.47
7.1.220.0030.01517.15
7.1.210.0030.01317.53
7.1.200.0120.00517.43
7.1.190.0130.00317.36
7.1.180.0040.00717.60
7.1.170.1200.00816.63
7.1.160.1420.01118.05
7.1.150.1290.00918.18
7.1.140.1400.01418.24
7.1.130.1210.01017.93
7.1.120.1350.00518.24
7.1.110.1240.00817.61
7.1.100.1230.01317.91
7.1.90.1010.01017.75
7.1.80.1020.01017.80
7.1.70.0260.00917.30
7.1.60.0240.01625.22
7.1.50.1120.01125.10
7.1.40.1310.01125.00
7.1.30.1460.01325.06
7.1.20.1670.01225.11
7.1.10.1670.01017.19
7.1.00.0320.01017.05
7.0.330.0080.00517.13
7.0.320.0050.00517.35
7.0.310.0070.00717.19
7.0.300.0000.01417.46
7.0.290.0030.01017.13
7.0.280.0070.00717.32
7.0.270.0030.01317.16
7.0.260.0030.00617.34
7.0.250.0090.00017.05
7.0.240.0030.01217.55
7.0.230.0170.00017.39
7.0.220.0110.00417.39
7.0.210.0080.00417.35
7.0.200.0000.01517.41
7.0.190.0000.01217.49
7.0.180.0070.00717.43
7.0.170.0060.00617.39
7.0.160.0050.00517.23
7.0.150.0030.01017.22
7.0.140.0070.00317.48
7.0.130.0070.00717.03
7.0.120.0060.00617.34
7.0.110.0030.00717.22
7.0.100.0100.00317.18
7.0.90.0040.00817.27
7.0.80.0000.00917.20
7.0.70.0000.01717.30
7.0.60.0060.00317.18
7.0.50.0110.00317.07
7.0.40.0030.00615.06
7.0.30.0090.00615.25
7.0.20.0060.00614.98
7.0.10.0070.00715.27
7.0.00.0070.01015.15
5.6.400.0120.00316.27
5.6.390.0000.01616.08
5.6.380.0120.00616.00
5.6.370.0070.01116.08
5.6.360.0050.00515.88
5.6.350.0070.00716.21
5.6.340.0030.00716.33
5.6.330.0030.01216.14
5.6.320.0030.01016.46
5.6.310.0030.00815.84
5.6.300.0030.00615.85
5.6.290.0000.01416.29
5.6.280.0100.00715.93
5.6.270.0060.00616.37
5.6.260.0030.01016.04
5.6.250.0080.00415.98
5.6.240.0040.01116.21
5.6.230.0080.00816.03
5.6.220.0040.00415.98
5.6.210.0040.00415.71
5.6.200.0000.01316.00
5.6.190.0000.01316.12
5.6.180.0040.01416.08
5.6.170.0030.01015.97
5.6.160.0070.00715.84
5.6.150.0030.00916.09
5.6.140.0140.00016.24
5.6.130.0130.00316.39
5.6.120.0060.00315.89
5.6.110.0040.00816.16
5.6.100.0060.00615.84
5.6.90.0030.00616.04
5.6.80.0100.00716.07
5.6.70.0070.00316.17
5.6.60.0090.00615.94
5.6.50.0040.00816.02
5.6.40.0070.00715.89
5.6.30.0060.00616.16
5.6.20.0090.00016.03
5.6.10.0060.00615.98
5.6.00.0000.00916.11

preferences:
59.19 ms | 400 KiB | 5 Q