3v4l.org

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

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.0170.00318.38
8.3.50.0200.00622.91
8.3.40.0090.00620.39
8.3.30.0120.00320.30
8.3.20.0060.00321.83
8.3.10.0030.00524.98
8.3.00.0000.00821.85
8.2.180.0160.00618.75
8.2.170.0060.01522.96
8.2.160.0120.00821.80
8.2.150.0000.00824.18
8.2.140.0090.00024.66
8.2.130.0060.00320.78
8.2.120.0060.00326.35
8.2.110.0040.00423.57
8.2.100.0040.00819.55
8.2.90.0000.00820.77
8.2.80.0030.00619.38
8.2.70.0090.00019.38
8.2.60.0040.00419.80
8.2.50.0030.00619.50
8.2.40.0000.00823.77
8.2.30.0000.00822.01
8.2.20.0090.00019.63
8.2.10.0000.00819.69
8.2.00.0030.00519.73
8.1.280.0070.01425.92
8.1.270.0190.00021.49
8.1.260.0060.00328.09
8.1.250.0040.00428.09
8.1.240.0080.00325.21
8.1.230.0090.00319.39
8.1.220.0040.00419.28
8.1.210.0090.00419.00
8.1.200.0030.00718.88
8.1.190.0080.00018.85
8.1.180.0050.00319.27
8.1.170.0080.00020.49
8.1.160.0030.00522.05
8.1.150.0050.00320.15
8.1.140.0080.00021.46
8.1.130.0080.00019.42
8.1.120.0040.00419.42
8.1.110.0030.00519.34
8.1.100.0050.00219.38
8.1.90.0050.00519.37
8.1.80.0030.00519.27
8.1.70.0040.00419.36
8.1.60.0030.00619.43
8.1.50.0030.00719.38
8.1.40.0080.00019.43
8.1.30.0060.00319.55
8.1.20.0030.00619.52
8.1.10.0000.00819.22
8.1.00.0050.00319.20
8.0.300.0040.00418.77
8.0.290.0030.00518.50
8.0.280.0000.00719.77
8.0.270.0050.00219.15
8.0.260.0030.00319.12
8.0.250.0070.00018.95
8.0.240.0000.00718.75
8.0.230.0000.00718.64
8.0.220.0040.00418.59
8.0.210.0040.00418.84
8.0.200.0000.00718.62
8.0.190.0020.00518.71
8.0.180.0060.00318.68
8.0.170.0030.00718.59
8.0.160.0070.00318.55
8.0.150.0000.00718.38
8.0.140.0080.00018.46
8.0.130.0030.00313.32
8.0.120.0050.00318.82
8.0.110.0040.00418.88
8.0.100.0050.00218.71
8.0.90.0050.00318.80
8.0.80.0090.01218.58
8.0.70.0040.00418.87
8.0.60.0030.00518.75
8.0.50.0040.00418.55
8.0.30.0080.00919.07
8.0.20.0070.01218.83
8.0.10.0040.00418.54
8.0.00.0130.00618.71
7.4.330.0000.00616.77
7.4.320.0050.00318.28
7.4.300.0070.00018.30
7.4.290.0000.00718.51
7.4.280.0040.00418.36
7.4.270.0070.00018.43
7.4.260.0040.00418.40
7.4.250.0030.00518.38
7.4.240.0040.00418.41
7.4.230.0050.00218.54
7.4.220.0120.00918.57
7.4.210.0070.01118.28
7.4.200.0040.00418.37
7.4.160.0100.00618.57
7.4.150.0150.00418.43
7.4.140.0150.00718.31
7.4.130.0130.00518.15
7.4.120.0130.00718.29
7.4.110.0110.00718.36
7.4.100.0100.00718.26
7.4.90.0060.01518.14
7.4.80.0200.00319.39
7.4.70.0070.01018.46
7.4.60.0070.01018.29
7.4.50.0070.01118.16
7.4.40.0110.00818.38
7.4.30.0110.01118.04
7.4.10.0090.00618.28
7.4.00.0070.01217.68
7.3.330.0000.00612.98
7.3.320.0030.00312.93
7.3.310.0030.00318.19
7.3.300.0000.00718.03
7.3.290.0070.00918.06
7.3.280.0090.00918.00
7.3.270.0120.00618.39
7.3.260.0090.00918.26
7.3.250.0070.01518.24
7.3.240.0100.01118.35
7.3.230.0100.00718.45
7.3.210.0030.01318.38
7.3.200.0060.01118.26
7.3.190.0160.00818.38
7.3.180.0070.01018.41
7.3.170.0110.00818.14
7.3.160.0100.00618.24
7.3.130.0100.01018.15
7.3.120.0090.00817.34
7.3.110.0050.01017.56
7.3.100.0050.01117.35
7.3.90.0060.00917.46
7.3.80.0080.00817.34
7.3.70.0060.01017.42
7.3.60.0020.01017.49
7.3.50.0090.00717.37
7.3.40.0060.01117.30
7.3.30.0030.01517.43
7.3.20.0050.00919.11
7.3.10.0080.00818.63
7.3.00.0070.00618.79
7.2.330.0100.01018.55
7.2.320.0060.01218.73
7.2.310.0030.01318.21
7.2.300.0140.00618.66
7.2.290.0120.01218.70
7.2.260.0110.00718.63
7.2.250.0040.01418.18
7.2.240.0030.01117.25
7.2.230.0020.01117.54
7.2.220.0070.01117.46
7.2.210.0070.00817.43
7.2.200.0090.00517.70
7.2.190.0000.01417.69
7.2.180.0040.01117.35
7.2.170.0060.00617.36
7.2.160.0020.01317.48
7.2.150.0070.00819.35
7.2.140.0100.00719.16
7.2.130.0070.00718.90
7.2.120.0060.00819.02
7.2.110.0040.00918.91
7.2.100.0070.00618.83
7.2.90.0060.00819.13
7.2.80.0070.00718.77
7.2.70.0070.00818.98
7.2.60.0100.00918.90
7.2.50.0050.01319.03
7.2.40.0060.00519.02
7.2.30.0040.01118.90
7.2.20.0110.00619.08
7.2.10.0070.00419.00
7.2.00.0050.01119.60
7.1.330.0040.01318.20
7.1.320.0100.00718.15
7.1.310.0070.00918.31
7.1.300.0120.00318.30
7.1.290.0030.01018.35
7.1.280.0120.00718.20
7.1.270.0050.01118.19
7.1.260.0070.00918.20
7.1.250.0070.00818.01
7.1.240.0030.00719.26
7.1.230.0080.00818.82
7.1.220.0040.00718.91
7.1.210.0060.00618.97
7.1.200.0050.00918.31
7.1.190.0030.00718.80
7.1.180.0120.00618.89
7.1.170.0060.00818.83
7.1.160.0070.00718.91
7.1.150.0030.01019.13
7.1.140.0090.00618.97
7.1.130.0040.01119.02
7.1.120.0090.00318.75
7.1.110.0060.00918.86
7.1.100.0060.00819.42
7.1.90.0090.00618.91
7.1.80.0060.00618.73
7.1.70.0030.01018.98
7.1.60.0090.01119.24
7.1.50.0070.00918.87
7.1.40.0030.01018.78
7.1.30.0070.01118.82
7.1.20.0100.00719.03
7.1.10.0090.00918.71
7.1.00.0030.04321.71
7.0.330.0030.01018.61
7.0.320.0030.00618.62
7.0.310.0070.00318.66
7.0.300.0090.01218.70
7.0.290.0060.00618.87
7.0.280.0030.00918.79
7.0.270.0090.00018.63
7.0.260.0070.00318.83
7.0.250.0070.00718.75
7.0.240.0030.01318.72
7.0.230.0060.00318.62
7.0.220.0070.00318.84
7.0.210.0030.01018.61
7.0.200.0010.00818.71
7.0.190.0060.00318.80
7.0.180.0060.00618.64
7.0.170.0090.00318.82
7.0.160.0070.01018.78
7.0.150.0120.00618.64
7.0.140.0030.01018.70
7.0.130.0080.00418.78
7.0.120.0000.01118.73
7.0.110.0080.00918.61
7.0.100.0060.01218.71
7.0.90.0110.00618.68
7.0.80.0040.01218.89
7.0.70.0040.00818.83
7.0.60.0130.03921.00
7.0.50.0020.02818.37
7.0.40.0000.04219.28
7.0.30.0200.04019.14
7.0.20.0220.03519.24
7.0.10.0030.03419.10
7.0.00.0100.04519.25
5.6.400.0090.00617.69
5.6.390.0030.01417.89
5.6.380.0030.00617.88
5.6.370.0070.00717.91
5.6.360.0070.00717.83
5.6.350.0140.00317.77
5.6.340.0070.00717.60
5.6.330.0070.01017.78
5.6.320.0110.00417.49
5.6.310.0040.01117.64
5.6.300.0110.00717.76
5.6.290.0130.00317.87
5.6.280.0010.02320.35
5.6.270.0040.01117.93
5.6.260.0060.00917.68
5.6.250.0040.01217.56
5.6.240.0040.01217.71
5.6.230.0120.00017.85
5.6.220.0040.01417.63
5.6.210.0040.04620.18
5.6.200.0090.03717.85
5.6.190.0060.02819.91
5.6.180.0150.03719.99
5.6.170.0200.02919.99
5.6.160.0050.03518.02
5.6.150.0070.04618.01
5.6.140.0070.02518.03
5.6.130.0130.03517.80
5.6.120.0080.04320.01
5.6.110.0030.05220.18
5.6.100.0060.04020.27
5.6.90.0070.04320.23
5.6.80.0070.03019.95
5.6.70.0000.01317.59
5.6.60.0040.01417.07
5.6.50.0000.01817.30
5.6.40.0030.01017.80
5.6.30.0070.00717.40
5.6.20.0130.00617.25
5.6.10.0060.00317.48
5.6.00.0060.00617.56
5.5.380.0040.01117.68
5.5.370.0080.00617.41
5.5.360.0000.01917.90
5.5.350.0100.02419.97
5.5.340.0060.03117.88
5.5.330.0120.04319.83
5.5.320.0200.04019.94
5.5.310.0140.04719.89
5.5.300.0070.02917.73
5.5.290.0080.02717.69
5.5.280.0100.03519.99
5.5.270.0090.04819.96
5.5.260.0050.04820.15
5.5.250.0120.03819.79
5.5.240.0150.04219.71
5.5.230.0050.00617.79
5.5.220.0060.00617.71
5.5.210.0030.01017.56
5.5.200.0090.00317.38
5.5.190.0090.00617.71
5.5.180.0100.01017.34
5.5.170.0060.00617.63
5.5.160.0030.01017.56
5.5.150.0060.00617.71
5.5.140.0060.00917.74
5.5.130.0000.01317.79
5.5.120.0000.01017.39
5.5.110.0150.00017.54
5.5.100.0030.01017.54
5.5.90.0030.00917.58
5.5.80.0040.01117.43
5.5.70.0070.00717.70
5.5.60.0030.00617.34
5.5.50.0030.01017.56
5.5.40.0070.01017.60
5.5.30.0040.01417.60
5.5.20.0090.00317.63
5.5.10.0070.01117.62
5.5.00.0030.01417.54

preferences:
63 ms | 401 KiB | 5 Q