3v4l.org

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

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.00918.38
8.3.50.0120.00320.02
8.3.40.0080.00820.08
8.3.30.0110.00719.91
8.3.20.0030.00521.56
8.3.10.0080.00024.98
8.3.00.0030.00521.54
8.2.180.0310.00418.38
8.2.170.0120.00322.96
8.2.160.0100.00321.60
8.2.150.0030.00624.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0080.00022.93
8.2.110.0070.00322.88
8.2.100.0090.00319.47
8.2.90.0030.00621.39
8.2.80.0110.00319.38
8.2.70.0050.00319.13
8.2.60.0040.00419.66
8.2.50.0000.00919.25
8.2.40.0070.00719.84
8.2.30.0100.00219.71
8.2.20.0040.00419.31
8.2.10.0000.00819.78
8.2.00.0070.00019.59
8.1.280.0100.01025.92
8.1.270.0040.00424.66
8.1.260.0040.01126.35
8.1.250.0080.00028.09
8.1.240.0030.00723.67
8.1.230.0040.00822.64
8.1.220.0030.00619.41
8.1.210.0040.00420.42
8.1.200.0090.00018.98
8.1.190.0050.00318.85
8.1.180.0000.00818.84
8.1.170.0080.00820.20
8.1.160.0080.00420.18
8.1.150.0000.00820.18
8.1.140.0040.00421.22
8.1.130.0040.00419.48
8.1.120.0000.00719.29
8.1.110.0040.00419.29
8.1.100.0000.00819.27
8.1.90.0030.00619.28
8.1.80.0030.00619.26
8.1.70.0000.00819.30
8.1.60.0040.00419.16
8.1.50.0030.00619.41
8.1.40.0040.00419.39
8.1.30.0040.00419.58
8.1.20.0000.00819.56
8.1.10.0090.00019.11
8.1.00.0050.00319.43
8.0.300.0030.00621.31
8.0.290.0040.00918.25
8.0.280.0050.00319.80
8.0.270.0070.00018.79
8.0.260.0030.00318.92
8.0.250.0000.00718.69
8.0.240.0030.00318.60
8.0.230.0000.00718.56
8.0.220.0000.00718.54
8.0.210.0030.00418.39
8.0.200.0040.00418.64
8.0.190.0020.00518.61
8.0.180.0040.00418.57
8.0.170.0110.00018.61
8.0.160.0050.00518.39
8.0.150.0040.00418.27
8.0.140.0000.00818.54
8.0.130.0050.00013.28
8.0.120.0000.00818.84
8.0.110.0040.00418.72
8.0.100.0000.00818.70
8.0.90.0000.00718.61
8.0.80.0000.02218.72
8.0.70.0030.00518.76
8.0.60.0040.00418.69
8.0.50.0000.00818.79
8.0.30.0130.00818.86
8.0.20.0090.01018.98
8.0.10.0040.00418.98
8.0.00.0120.00718.71
7.4.330.0000.00616.79
7.4.320.0080.00018.41
7.4.300.0090.00018.15
7.4.290.0070.00018.35
7.4.280.0060.00318.40
7.4.270.0000.00718.16
7.4.260.0000.00818.28
7.4.250.0030.00618.17
7.4.240.0040.00418.45
7.4.230.0070.00018.10
7.4.220.0130.00718.40
7.4.210.0090.00918.37
7.4.200.0070.00018.09
7.4.160.0000.01518.39
7.4.150.0130.00618.18
7.4.140.0110.01118.32
7.4.130.0110.01018.21
7.4.120.0100.01118.37
7.4.110.0120.00818.23
7.4.100.0170.00018.12
7.4.90.0040.01818.26
7.4.80.0150.01119.39
7.4.70.0130.00318.47
7.4.60.0110.00718.24
7.4.50.0090.00318.14
7.4.40.0060.01018.39
7.4.30.0120.00618.21
7.4.00.0000.01616.82
7.3.330.0000.00512.99
7.3.320.0000.00513.18
7.3.310.0070.00018.09
7.3.300.0080.00018.06
7.3.290.0070.01118.07
7.3.280.0050.01218.09
7.3.270.0130.00718.18
7.3.260.0120.00618.02
7.3.250.0070.01118.18
7.3.240.0050.01318.04
7.3.230.0120.00618.29
7.3.210.0030.01318.26
7.3.200.0370.00418.40
7.3.190.0120.00618.23
7.3.180.0100.01018.10
7.3.170.0090.00918.16
7.3.160.0060.00918.41
7.3.10.0070.00718.22
7.3.00.0060.00617.93
7.2.330.0100.01618.30
7.2.320.0100.01018.20
7.2.310.0120.00618.05
7.2.300.0080.00818.54
7.2.290.0060.01218.58
7.2.130.0000.00918.54
7.2.120.0060.01118.42
7.2.110.0070.01018.54
7.2.100.0040.00818.38
7.2.90.0070.01018.60
7.2.80.0060.00618.74
7.2.70.0090.00618.67
7.2.60.0090.00518.54
7.2.50.0060.01018.52
7.2.40.0040.00818.55
7.2.30.0090.00318.65
7.2.20.0050.00518.79
7.2.10.0090.00618.52
7.2.00.0080.00818.55
7.1.250.0090.00617.21
7.1.200.0030.01017.29
7.1.70.0060.00318.95
7.1.60.0060.01819.52
7.1.50.0040.01818.96
7.1.00.0030.08024.41
7.0.200.0030.00518.72
7.0.60.0030.05023.48
7.0.50.0030.07717.83
7.0.40.0070.08721.78
7.0.30.0230.04321.86
7.0.20.0270.04321.73
7.0.10.0230.07021.56
7.0.00.0070.08021.78
5.6.210.0100.07322.45
5.6.200.0030.06018.21
5.6.190.0100.07021.89
5.6.180.0370.07321.97
5.6.170.0370.07322.04
5.6.160.0130.07322.11
5.6.150.0000.04318.17
5.6.140.0070.08018.18
5.6.130.0030.05018.09
5.6.120.0130.06322.69
5.6.110.0130.07722.71
5.6.100.0100.08022.78
5.6.90.0100.04722.64
5.6.80.0100.07322.35
5.5.350.4130.04022.00
5.5.340.0070.08317.98
5.5.330.0100.06321.95
5.5.320.0300.03721.93
5.5.310.0100.04721.70
5.5.300.0070.03717.92
5.5.290.0130.05317.91
5.5.280.0130.08022.42
5.5.270.0170.05022.42
5.5.260.0000.04322.41
5.5.250.0030.05022.32
5.5.240.0130.04321.86

preferences:
49.02 ms | 401 KiB | 5 Q