3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \NumberFormatter("pt_BR", \NumberFormatter::CURRENCY); 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.0140.01118.13
8.3.50.0300.00522.81
8.3.40.0060.01620.47
8.3.30.0170.00720.29
8.3.20.0000.00821.84
8.3.10.0040.00425.23
8.3.00.0050.00321.79
8.2.180.0100.01020.03
8.2.170.0080.00822.96
8.2.160.0030.01221.77
8.2.150.0000.00824.18
8.2.140.0090.00624.66
8.2.130.0060.00321.14
8.2.120.0080.00026.35
8.2.110.0000.01022.02
8.2.100.0060.00620.05
8.2.90.0000.00820.72
8.2.80.0000.00819.50
8.2.70.0040.00419.50
8.2.60.0120.00619.92
8.2.50.0100.00319.50
8.2.40.0090.00023.98
8.2.30.0100.00022.15
8.2.20.0000.00919.65
8.2.10.0030.00619.95
8.2.00.0040.00819.79
8.1.280.0130.00325.92
8.1.270.0160.00321.88
8.1.260.0040.00428.09
8.1.250.0030.00528.09
8.1.240.0090.00023.56
8.1.230.0060.00619.51
8.1.220.0120.00219.54
8.1.210.0060.00319.11
8.1.200.0050.00519.11
8.1.190.0030.00619.10
8.1.180.0060.00319.50
8.1.170.0070.00320.46
8.1.160.0040.00422.18
8.1.150.0070.00320.49
8.1.140.0020.00721.59
8.1.130.0000.00719.61
8.1.120.0070.00419.63
8.1.110.0060.00619.55
8.1.100.0050.00519.29
8.1.90.0060.00619.57
8.1.80.0000.01019.24
8.1.70.0040.00719.51
8.1.60.0110.00619.58
8.1.50.0040.00419.62
8.1.40.0110.00519.58
8.1.30.0130.00419.84
8.1.20.0000.00919.73
8.1.10.0030.00719.64
8.1.00.0050.00619.59
8.0.300.0030.00518.91
8.0.290.0050.00318.75
8.0.280.0040.00419.98
8.0.270.0100.00519.14
8.0.260.0030.00519.23
8.0.250.0000.00718.96
8.0.240.0040.00418.95
8.0.230.0060.00318.91
8.0.220.0030.00618.78
8.0.210.0000.00918.73
8.0.200.0080.00318.82
8.0.190.0100.00318.88
8.0.180.0090.00318.91
8.0.170.0150.00318.86
8.0.160.0150.00718.75
8.0.150.0050.00218.68
8.0.140.0170.00018.89
8.0.130.0000.00513.25
8.0.120.0100.00018.97
8.0.110.0080.00019.11
8.0.100.0040.00418.97
8.0.90.0000.00818.84
8.0.80.0100.01019.20
8.0.70.0000.00818.98
8.0.60.0000.00819.08
8.0.50.0040.00419.14
8.0.30.0200.00819.32
8.0.20.0090.01019.40
8.0.10.0040.00419.11
8.0.00.0110.01118.79
7.4.330.0020.00216.77
7.4.320.0030.00318.70
7.4.300.0000.00818.49
7.4.290.0070.00418.61
7.4.280.0150.00018.59
7.4.270.0030.00818.40
7.4.260.0000.00818.59
7.4.250.0030.00618.48
7.4.240.0020.00618.70
7.4.230.0000.00718.57
7.4.220.0140.01418.65
7.4.210.0110.01118.58
7.4.200.0000.00718.54
7.4.160.0110.00818.47
7.4.150.0120.00618.46
7.4.140.0120.01118.57
7.4.130.0090.00918.60
7.4.120.0170.00818.48
7.4.110.0070.01118.57
7.4.100.0180.00618.51
7.4.90.0130.00718.61
7.4.80.0120.01519.39
7.4.70.0130.00618.61
7.4.60.0160.00318.52
7.4.50.0060.00918.27
7.4.40.0170.00718.63
7.4.30.0130.00918.53
7.4.10.0070.01116.69
7.4.00.0070.01016.74
7.3.330.0050.00013.01
7.3.320.0000.00613.11
7.3.310.0050.00218.43
7.3.300.0030.00518.27
7.3.290.0040.00418.38
7.3.280.0080.01018.27
7.3.270.0040.01718.43
7.3.260.0140.00718.35
7.3.250.0120.01018.55
7.3.240.0120.00918.60
7.3.230.0100.01318.56
7.3.210.0090.00918.79
7.3.200.0040.01418.61
7.3.190.0180.00318.51
7.3.180.0100.01118.50
7.3.170.0180.00318.43
7.3.160.0070.01018.62
7.3.130.0000.01816.54
7.3.120.0130.00616.75
7.3.110.0160.00316.66
7.3.100.0130.00316.71
7.3.90.0070.01017.02
7.3.80.0060.00916.88
7.3.70.0070.00716.68
7.3.60.0110.00716.66
7.3.50.0060.01316.83
7.3.40.0110.00316.79
7.3.30.0030.01016.77
7.3.20.0080.00818.60
7.3.10.0080.00818.47
7.3.00.0030.00618.39
7.2.330.0120.00618.52
7.2.320.0120.00618.85
7.2.310.0140.01718.78
7.2.300.0060.01218.48
7.2.290.0000.01718.45
7.2.260.0100.00716.98
7.2.250.0040.01416.95
7.2.240.0070.00717.21
7.2.230.0000.01517.07
7.2.220.0000.01416.88
7.2.210.0090.00316.84
7.2.200.0120.00316.93
7.2.190.0060.01216.99
7.2.180.0140.00416.97
7.2.170.0120.00316.96
7.2.160.0060.00916.80
7.2.150.0070.00318.71
7.2.140.0110.00618.54
7.2.130.0100.00318.87
7.2.120.0060.01018.70
7.2.110.0210.00518.54
7.2.100.0030.00918.69
7.2.90.0030.01318.97
7.2.80.0070.00918.56
7.2.70.0070.01318.87
7.2.60.0030.00618.88
7.2.50.0030.00818.93
7.2.40.0070.01018.91
7.2.30.0070.01118.82
7.2.20.0060.00918.85
7.2.10.0080.00418.81
7.2.00.0050.00620.34
7.1.330.0000.01517.67
7.1.320.0000.01617.80
7.1.310.0040.00717.52
7.1.300.0120.00317.67
7.1.290.0040.00717.27
7.1.280.0040.00817.66
7.1.270.0000.01717.32
7.1.260.0060.00317.81
7.1.250.0030.00917.46
7.1.240.0030.00617.36
7.1.230.0030.01017.77
7.1.220.0100.00317.71
7.1.210.0030.00717.66
7.1.200.0080.00617.49
7.1.190.0100.00717.68
7.1.180.0070.00717.61
7.1.170.0030.01517.75
7.1.160.0070.00717.60
7.1.150.0030.00717.32
7.1.140.0060.00617.70
7.1.130.0060.01017.59
7.1.120.0090.00017.65
7.1.110.0060.00317.65
7.1.100.0030.00717.79
7.1.90.0030.01017.82
7.1.80.0060.01017.69
7.1.70.0080.00318.29
7.1.60.0050.01218.51
7.1.50.0080.01018.52
7.1.40.0060.00617.88
7.1.30.0040.00417.74
7.1.20.0000.01417.78
7.1.10.0120.00317.64
7.1.00.0070.04021.08
7.0.330.0070.00717.38
7.0.320.0080.00017.14
7.0.310.0140.00417.31
7.0.300.0150.00017.30
7.0.290.0120.00617.46
7.0.280.0030.01017.44
7.0.270.0030.01417.22
7.0.260.0030.00917.25
7.0.250.0070.00717.32
7.0.240.0000.01017.33
7.0.230.0040.01117.40
7.0.220.0070.00717.41
7.0.210.0000.01217.21
7.0.200.0050.00518.21
7.0.190.0040.01217.54
7.0.180.0100.00317.29
7.0.170.0040.00817.45
7.0.160.0030.01417.39
7.0.150.0000.01217.29
7.0.140.0070.00417.41
7.0.130.0030.00617.46
7.0.120.0040.00417.38
7.0.110.0030.01417.35
7.0.100.0060.00917.22
7.0.90.0040.00917.26
7.0.80.0000.01117.42
7.0.70.0030.01017.08
7.0.60.0030.03219.56
7.0.50.0060.03617.56
7.0.40.0030.05218.57
7.0.30.0160.02518.70
7.0.20.0170.04618.73
7.0.10.0080.02518.45
7.0.00.0090.03518.69
5.6.400.0080.00316.50
5.6.390.0000.01416.07
5.6.380.0080.00816.43
5.6.370.0040.00816.36
5.6.360.0120.00016.30
5.6.350.0000.01716.59
5.6.340.0030.01216.48
5.6.330.0030.01016.30
5.6.320.0090.00616.59
5.6.310.0060.00916.33
5.6.300.0100.00316.57
5.6.290.0070.00316.56
5.6.280.0060.00616.41
5.6.270.0080.00016.09
5.6.260.0000.01016.25
5.6.250.0060.00916.03
5.6.240.0060.00916.50
5.6.230.0090.00016.37
5.6.220.0070.01016.22
5.6.210.0110.03519.40
5.6.200.0080.03317.21
5.6.190.0020.04619.65
5.6.180.0170.04319.31
5.6.170.0100.03019.21
5.6.160.0050.04219.20
5.6.150.0020.03217.08
5.6.140.0080.02817.34
5.6.130.0080.04517.18
5.6.120.0090.02519.67
5.6.110.0050.03319.54
5.6.100.0030.03019.71
5.6.90.0060.02419.71
5.6.80.0030.02319.20
5.6.70.0060.00716.23
5.6.60.0070.00716.02
5.6.50.0000.01216.35
5.6.40.0040.01416.27
5.6.30.0090.00616.13
5.6.20.0080.01116.15
5.6.10.0080.00416.24
5.6.00.0060.00916.22
5.5.380.0000.01016.23
5.5.370.0040.01116.06
5.5.360.0070.00416.15
5.5.350.0170.02919.28
5.5.340.0020.02616.96
5.5.330.0030.04919.19
5.5.320.0220.03819.11
5.5.310.0130.04119.12
5.5.300.0080.03617.09
5.5.290.0080.03717.17
5.5.280.0030.03519.38
5.5.270.0090.02319.58
5.5.260.0080.04319.62
5.5.250.0050.04819.48
5.5.240.0080.01919.14
5.5.230.0030.01216.46
5.5.220.0040.00816.36
5.5.210.0060.00316.23
5.5.200.0070.01416.05
5.5.190.0060.00916.31
5.5.180.0080.00816.06
5.5.170.0100.00316.26
5.5.160.0120.00316.17
5.5.150.0000.00916.13
5.5.140.0040.01116.11
5.5.130.0040.01116.01
5.5.120.0070.01016.12
5.5.110.0060.01215.93
5.5.100.0040.01216.11
5.5.90.0100.00616.09
5.5.80.0040.00816.04
5.5.70.0070.00715.94
5.5.60.0090.00616.16
5.5.50.0130.00016.44
5.5.40.0070.00716.08
5.5.30.0090.00616.32
5.5.20.0100.00315.91
5.5.10.0050.00516.37
5.5.00.0000.01116.37

preferences:
50.68 ms | 401 KiB | 5 Q