3v4l.org

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

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.0150.00618.38
8.3.50.0170.00722.87
8.3.40.0160.00620.21
8.3.30.0110.01120.17
8.3.20.0080.00021.70
8.3.10.0060.00325.12
8.3.00.0030.00521.97
8.2.180.0060.01318.25
8.2.170.0090.00922.96
8.2.160.0070.00722.07
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0080.00021.95
8.2.110.0070.00423.10
8.2.100.0130.00619.72
8.2.90.0060.00920.64
8.2.80.0130.00419.38
8.2.70.0040.00419.50
8.2.60.0100.00319.80
8.2.50.0080.00019.50
8.2.40.0040.00421.79
8.2.30.0000.00819.94
8.2.20.0090.00019.58
8.2.10.0050.00319.96
8.2.00.0000.00719.89
8.1.280.0140.00325.92
8.1.270.0080.00024.66
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0000.01023.29
8.1.230.0160.01319.40
8.1.220.0030.00519.65
8.1.210.0050.00319.13
8.1.200.0030.00619.11
8.1.190.0000.00819.10
8.1.180.0000.00819.10
8.1.170.0220.00220.19
8.1.160.0070.00520.37
8.1.150.0040.00420.32
8.1.140.0040.00421.40
8.1.130.0000.00719.48
8.1.120.0040.00419.45
8.1.110.0040.00419.38
8.1.100.0030.00519.56
8.1.90.0060.00319.48
8.1.80.0040.00419.54
8.1.70.0050.00319.46
8.1.60.0000.00819.58
8.1.50.0040.00419.59
8.1.40.0000.00919.42
8.1.30.0030.00619.67
8.1.20.0000.00819.87
8.1.10.0050.00319.66
8.1.00.0000.01019.54
8.0.300.0040.00418.79
8.0.290.0050.00318.63
8.0.280.0000.00719.89
8.0.270.0000.00819.11
8.0.260.0000.00719.14
8.0.250.0040.00418.91
8.0.240.0070.00018.95
8.0.230.0040.00418.86
8.0.220.0000.00818.71
8.0.210.0000.00718.94
8.0.200.0000.00718.85
8.0.190.0040.00418.77
8.0.180.0060.00318.95
8.0.170.0080.00618.88
8.0.160.0000.01118.56
8.0.150.0040.00418.57
8.0.140.0050.00318.85
8.0.130.0000.00513.30
8.0.120.0040.00418.92
8.0.110.0040.00418.97
8.0.100.0000.00818.95
8.0.90.0080.00018.90
8.0.80.0070.01419.00
8.0.70.0040.00419.18
8.0.60.0000.00819.05
8.0.50.0040.00418.89
8.0.30.0150.00519.32
8.0.20.0080.01019.16
8.0.10.0000.00819.07
8.0.00.0110.00818.84
7.4.330.0000.00616.70
7.4.320.0000.00718.66
7.4.300.0030.00318.48
7.4.290.0040.00418.52
7.4.280.0040.00418.69
7.4.270.0040.00418.63
7.4.260.0040.00418.50
7.4.250.0000.00718.61
7.4.240.0020.00518.57
7.4.230.0000.00818.77
7.4.220.0040.02118.60
7.4.210.0080.00818.69
7.4.200.0050.00318.63
7.4.160.0150.00618.35
7.4.150.0070.01118.33
7.4.140.0110.01018.46
7.4.130.0060.01218.33
7.4.120.0180.00418.37
7.4.110.0130.00618.25
7.4.100.0090.01218.38
7.4.90.0120.01218.42
7.4.80.0140.00719.39
7.4.70.0030.01418.59
7.4.60.0070.01118.42
7.4.50.0000.01418.42
7.4.40.0090.00918.29
7.4.30.0150.00918.14
7.4.00.0060.01216.79
7.3.330.0000.00513.20
7.3.320.0030.00313.02
7.3.310.0000.00818.39
7.3.300.0000.00718.23
7.3.290.0090.00818.36
7.3.280.0090.01118.13
7.3.270.0180.00618.59
7.3.260.0070.01118.29
7.3.250.0110.00818.50
7.3.240.0070.01318.45
7.3.230.0100.00718.41
7.3.210.0070.01118.31
7.3.200.0160.00318.61
7.3.190.0110.00618.48
7.3.180.0030.01318.51
7.3.170.0100.01318.74
7.3.160.0030.01318.63
7.3.120.0060.01216.99
7.3.110.0000.01716.85
7.3.100.0090.00616.98
7.3.90.0030.01016.75
7.3.80.0000.01216.88
7.3.70.0040.01217.05
7.3.60.0070.00716.82
7.3.50.0030.01416.98
7.3.40.0040.01116.77
7.3.30.0090.00616.87
7.3.20.0080.00418.56
7.3.10.0080.00818.21
7.3.00.0000.00918.47
7.2.330.0120.01218.32
7.2.320.0120.01118.75
7.2.310.0100.01018.86
7.2.300.0000.01718.74
7.2.290.0070.01118.44
7.2.240.0070.00716.90
7.2.230.0060.00617.01
7.2.220.0000.01416.98
7.2.210.0060.00616.98
7.2.200.0060.01217.00
7.2.190.0080.00616.85
7.2.180.0030.00716.75
7.2.170.0060.00617.00
7.2.160.0060.00916.63
7.2.150.0000.01118.45
7.2.140.0000.01418.79
7.2.130.0100.00318.56
7.2.120.0070.00718.77
7.2.110.0090.00318.59
7.2.100.0040.01118.82
7.2.90.0120.00418.55
7.2.80.0080.00318.50
7.2.70.0030.01418.66
7.2.60.0150.00618.82
7.2.50.0120.00618.76
7.2.40.0130.00018.72
7.2.30.0120.00318.71
7.2.20.0000.00918.93
7.2.10.0040.01118.75
7.2.00.0020.01120.24
7.1.330.0040.01217.49
7.1.320.0130.00317.30
7.1.310.0000.01217.58
7.1.300.0030.01017.43
7.1.290.0030.00917.44
7.1.280.0070.00717.57
7.1.270.0030.00617.48
7.1.260.0000.01417.55
7.1.250.0120.00317.66
7.1.200.0100.00517.50
7.1.100.0110.00320.07
7.1.70.0040.00419.29
7.1.60.0140.01019.52
7.1.50.0060.01518.78
7.1.00.0030.07724.68
7.0.200.0000.00818.99
7.0.60.0200.07021.92
7.0.50.0070.05017.91
7.0.40.0030.08022.07
7.0.30.0330.05022.05
7.0.20.0300.05022.17
7.0.10.0100.08021.93
7.0.00.0170.07022.03
5.6.280.0000.04722.86
5.6.210.0100.06022.73
5.6.200.0000.08718.09
5.6.190.0130.08022.79
5.6.180.0300.07322.79
5.6.170.0300.08322.17
5.6.160.0000.05322.43
5.6.150.0100.05018.22
5.6.140.0070.07718.21
5.6.130.0070.07318.16
5.6.120.0070.08723.07
5.6.110.0200.07323.04
5.6.100.0070.04023.02
5.6.90.0070.05323.13
5.6.80.0100.07722.38
5.5.350.0270.07722.43
5.5.340.0030.08017.92
5.5.330.0030.04722.04
5.5.320.0600.06322.13
5.5.310.0230.04321.95
5.5.300.0070.08017.95
5.5.290.0000.04317.88
5.5.280.0100.08022.68
5.5.270.0000.05322.57
5.5.260.0070.08022.78
5.5.250.0230.06322.61
5.5.240.0300.04722.11

preferences:
79.91 ms | 401 KiB | 5 Q