3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \NumberFormatter("pt_BR", \NumberFormatter::SCIENTIFIC); echo $a->format(12345.12345);

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.0160.00618.38
8.3.50.0070.01719.91
8.3.40.0110.01119.98
8.3.30.0150.00020.04
8.3.20.0040.01121.84
8.3.10.0080.00024.98
8.3.00.0000.00821.85
8.2.180.0160.00320.41
8.2.170.0060.01222.96
8.2.160.0070.00721.89
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0090.00020.89
8.2.120.0030.00526.35
8.2.110.0000.01121.88
8.2.100.0040.00819.55
8.2.90.0050.00320.60
8.2.80.0060.00319.25
8.2.70.0030.00619.13
8.2.60.0070.00519.65
8.2.50.0050.00319.13
8.2.40.0040.00423.68
8.2.30.0000.00822.06
8.2.20.0000.00919.39
8.2.10.0040.00419.81
8.2.00.0040.00419.87
8.1.280.0150.00325.92
8.1.270.0030.00621.63
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0060.00323.61
8.1.230.0060.00619.57
8.1.220.0040.00419.36
8.1.210.0030.00519.00
8.1.200.0030.00618.85
8.1.190.0080.00018.85
8.1.180.0030.00619.16
8.1.170.0090.00020.27
8.1.160.0040.00422.10
8.1.150.0030.00520.08
8.1.140.0000.00821.29
8.1.130.0030.00319.35
8.1.120.0000.00819.32
8.1.110.0050.00319.32
8.1.100.0000.00819.23
8.1.90.0060.00319.27
8.1.80.0040.00419.27
8.1.70.0000.00919.30
8.1.60.0040.00419.38
8.1.50.0000.00819.36
8.1.40.0040.00419.28
8.1.30.0050.00519.47
8.1.20.0070.00319.36
8.1.10.0060.00319.41
8.1.00.0000.00819.38
8.0.300.0040.00418.77
8.0.290.0040.00418.38
8.0.280.0070.00019.73
8.0.270.0040.00718.98
8.0.260.0000.00718.96
8.0.250.0030.00318.80
8.0.240.0050.00218.58
8.0.230.0030.00318.49
8.0.220.0070.00018.46
8.0.210.0000.00718.50
8.0.200.0070.00018.49
8.0.190.0040.00418.57
8.0.180.0040.00418.46
8.0.170.0000.01018.53
8.0.160.0030.00618.45
8.0.150.0000.00718.35
8.0.140.0060.00318.37
8.0.130.0000.00613.32
8.0.120.0080.00018.54
8.0.110.0040.00418.75
8.0.100.0020.00518.75
8.0.90.0080.00018.82
8.0.80.0030.01318.79
8.0.70.0000.00818.48
8.0.60.0000.00818.68
8.0.50.0040.00418.85
8.0.30.0090.01218.76
8.0.20.0090.01019.09
8.0.10.0060.00318.88
8.0.00.0090.01018.66
7.4.330.0000.00616.78
7.4.320.0000.00718.41
7.4.300.0030.00318.51
7.4.290.0030.00318.38
7.4.280.0000.00818.43
7.4.270.0040.00418.29
7.4.260.0090.00318.22
7.4.250.0060.00318.30
7.4.240.0020.00618.45
7.4.230.0000.00718.55
7.4.220.0060.01918.38
7.4.210.0090.00818.37
7.4.200.0040.00418.35
7.4.160.0120.01218.11
7.4.150.0130.00718.25
7.4.140.0070.01418.04
7.4.130.0080.00918.33
7.4.120.0150.00518.25
7.4.110.0080.01118.26
7.4.100.0060.01318.14
7.4.90.0160.00918.21
7.4.80.0140.00519.39
7.4.70.0090.00918.28
7.4.60.0090.00918.10
7.4.50.0030.01318.12
7.4.40.0080.00818.32
7.4.30.0030.02018.13
7.4.00.0030.01316.52
7.3.330.0000.00613.14
7.3.320.0060.00013.15
7.3.310.0070.00017.95
7.3.300.0030.00317.98
7.3.290.0000.00718.00
7.3.280.0090.00717.99
7.3.270.0120.00618.20
7.3.260.0110.00818.11
7.3.250.0080.01018.11
7.3.240.0120.01018.39
7.3.230.0070.01018.48
7.3.210.0000.01718.29
7.3.200.0060.00918.34
7.3.190.0040.01418.47
7.3.180.0040.01218.42
7.3.170.0070.01518.43
7.3.160.0080.00818.41
7.2.330.0070.01518.40
7.2.320.0030.01318.03
7.2.310.0090.00818.37
7.2.300.0060.01118.60
7.2.290.0030.01318.36
7.2.60.0080.01118.15
7.2.00.0130.00521.53
7.1.200.0110.00817.37
7.1.100.0160.00020.00
7.1.70.0050.01119.04
7.1.60.0120.01819.52
7.1.50.0070.01718.78
7.1.00.0030.07724.28
7.0.200.0640.00016.74
7.0.60.0100.06721.66
7.0.50.0000.08717.84
7.0.40.0200.07321.86
7.0.30.0300.07321.89
7.0.20.0200.05321.95
7.0.10.0130.03321.97
7.0.00.0130.08321.83
5.6.210.0030.08322.25
5.6.200.0000.08318.10
5.6.190.0100.08322.45
5.6.180.0200.03722.13
5.6.170.0200.06722.22
5.6.160.0030.04322.24
5.6.150.0000.05318.21
5.6.140.0030.07718.07
5.6.130.0130.05718.21
5.6.120.0170.07322.96
5.6.110.0070.08322.67
5.6.100.0030.05022.70
5.6.90.0030.04722.85
5.6.80.0070.03722.21
5.5.350.0200.05722.14
5.5.340.0070.04317.97
5.5.330.0070.07022.09
5.5.320.0570.06721.99
5.5.310.0200.04722.00
5.5.300.0100.03717.96
5.5.290.0070.06018.02
5.5.280.0070.06022.50
5.5.270.0100.04322.25
5.5.260.0070.07022.48
5.5.250.0100.08322.39
5.5.240.0430.06022.01

preferences:
52.76 ms | 401 KiB | 5 Q