3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \NumberFormatter("fr-FR", \NumberFormatter::CURRENCY); echo $a->format(12345.12345) . "<br>"; // outputs €12.345,12

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.01018.63
8.3.50.0070.00719.81
8.3.40.0120.00320.34
8.3.30.0070.01020.41
8.3.20.0080.00021.98
8.3.10.0030.00525.23
8.3.00.0030.00521.85
8.2.180.0070.01018.22
8.2.170.0120.00322.96
8.2.160.0110.00421.62
8.2.150.0090.00924.18
8.2.140.0000.00824.66
8.2.130.0060.00323.07
8.2.120.0030.00626.35
8.2.110.0100.00022.00
8.2.100.0080.00419.91
8.2.90.0030.00620.73
8.2.80.0040.00419.49
8.2.70.0120.01218.00
8.2.60.0070.01120.04
8.2.50.0030.00619.63
8.2.40.0120.00323.13
8.2.30.0060.00622.20
8.2.20.0090.00019.75
8.2.10.0000.00820.02
8.2.00.0040.00419.91
8.1.280.0130.01025.92
8.1.270.0070.01320.29
8.1.260.0080.00028.09
8.1.250.0000.00828.09
8.1.240.0030.00622.75
8.1.230.0080.00321.15
8.1.220.0060.00319.64
8.1.210.0040.00419.23
8.1.200.0000.01019.11
8.1.190.0050.00319.51
8.1.180.0050.00319.41
8.1.170.0050.00520.66
8.1.160.0040.00422.27
8.1.150.0000.00820.45
8.1.140.0080.00021.55
8.1.130.0000.00719.67
8.1.120.0030.00619.55
8.1.110.0070.00319.47
8.1.100.0040.00419.58
8.1.90.0000.01119.46
8.1.80.0030.00619.49
8.1.70.0000.00819.40
8.1.60.0090.00319.56
8.1.50.0040.00419.57
8.1.40.0160.00319.46
8.1.30.0050.00519.80
8.1.20.0000.00819.88
8.1.10.0090.00019.64
8.1.00.0000.00819.61
8.0.300.0050.00318.77
8.0.290.0040.00418.88
8.0.280.0040.00420.08
8.0.270.0150.00019.21
8.0.260.0000.00719.34
8.0.250.0040.00419.07
8.0.240.0030.00519.01
8.0.230.0040.00419.04
8.0.220.0000.00818.87
8.0.210.0000.00919.00
8.0.200.0000.00818.96
8.0.190.0040.00418.94
8.0.180.0050.00518.84
8.0.170.0000.00818.96
8.0.160.0050.00519.05
8.0.150.0040.00418.69
8.0.140.0070.00718.75
8.0.130.0060.00013.30
8.0.120.0040.00419.06
8.0.110.0000.00819.13
8.0.100.0040.00419.00
8.0.90.0070.00018.89
8.0.80.0180.00419.07
8.0.70.0000.00819.07
8.0.60.0040.00418.86
8.0.50.0040.00418.90
8.0.30.0140.00519.08
8.0.20.0100.01019.16
8.0.10.0000.00819.00
8.0.00.0030.01618.90
7.4.330.0000.00516.82
7.4.320.0040.00418.78
7.4.300.0040.00418.89
7.4.290.0030.00518.68
7.4.280.0060.00618.79
7.4.270.0000.00718.84
7.4.260.0020.00518.63
7.4.250.0050.00318.50
7.4.240.0020.00618.78
7.4.230.0000.00718.69
7.4.220.0120.01218.73
7.4.210.0000.01618.64
7.4.200.0040.00418.93
7.4.160.0210.00018.69
7.4.150.0110.00818.44
7.4.140.0160.00718.55
7.4.130.0110.01118.51
7.4.120.0100.01018.64
7.4.110.0120.00618.43
7.4.100.0160.00318.48
7.4.90.0090.00918.50
7.4.80.0040.01419.39
7.4.70.0130.00318.63
7.4.60.0030.01418.53
7.4.50.0060.01318.58
7.4.40.0120.00818.36
7.4.30.0050.01918.71
7.4.00.0030.01016.76
7.3.330.0030.00313.09
7.3.320.0000.00613.14
7.3.310.0000.00818.25
7.3.300.0030.00318.43
7.3.290.0110.00718.30
7.3.280.0140.00818.36
7.3.270.0100.01118.68
7.3.260.0120.00918.42
7.3.240.0140.00518.46
7.3.230.0130.00518.34
7.3.210.0090.00918.62
7.3.200.0140.00918.68
7.3.190.0050.01118.60
7.3.180.0110.00618.42
7.3.170.0100.01418.41
7.3.160.0110.00818.34
7.2.330.0070.01118.50
7.2.320.0080.00818.50
7.2.310.0130.01018.64
7.2.300.0090.01618.34
7.2.290.0070.01818.51
7.2.60.0160.00718.77
7.2.00.0080.00821.53
7.1.200.0140.01017.55
7.1.100.0070.00720.34
7.1.70.0040.00719.52
7.1.60.0030.01019.72
7.1.50.0080.00319.28
7.1.40.0040.00818.80
7.1.30.0080.00318.74
7.1.20.0080.00319.03
7.1.10.0000.01018.99
7.1.00.0030.00518.74
7.0.200.0100.00019.02
7.0.190.0000.00819.00
7.0.180.0100.00018.74
7.0.170.0000.00818.74
7.0.160.0000.00918.74
7.0.150.0040.00418.74
7.0.140.0030.00618.74
7.0.130.0000.00918.74
7.0.120.0000.00818.74
7.0.110.0030.00518.74
7.0.100.0000.00818.74
7.0.90.0040.00418.74
7.0.80.0000.01018.74
7.0.70.0030.00518.74
7.0.60.0000.00818.74
7.0.50.0000.01118.74
7.0.40.0040.00418.74
7.0.30.0070.01018.74
7.0.20.0000.00818.74
7.0.10.0040.00418.74
7.0.00.0030.00718.74
5.6.300.0130.02923.04
5.6.290.0000.04323.20
5.6.280.0030.04022.79
5.6.270.0030.04123.00
5.6.260.0100.04722.79
5.6.250.0030.05023.05
5.6.240.0000.04823.02
5.6.230.0270.04723.03
5.6.220.0100.03422.92
5.6.210.0100.04223.00
5.6.200.0030.04722.91
5.6.190.0000.05322.75
5.6.180.0000.04823.02
5.6.170.0030.04122.85
5.6.160.0030.04222.88
5.6.150.0070.04722.88
5.6.140.0030.04823.01
5.6.130.0030.05322.91
5.6.120.0000.05022.88
5.6.110.0260.04622.98
5.6.100.0100.04022.95
5.6.90.0030.04322.94
5.6.80.0030.05122.40
5.6.70.0070.04022.27
5.6.60.0230.03022.36
5.6.50.0000.05122.36
5.6.40.0030.04322.31
5.6.30.0030.04022.25
5.6.20.0070.07622.26
5.6.10.0130.04022.27
5.6.00.0130.03022.18
5.5.380.0090.03518.74
5.5.370.0060.04218.74
5.5.360.0000.04318.74
5.5.350.0000.04418.74
5.5.340.0030.04318.74
5.5.330.0040.03918.74
5.5.320.0000.04218.74
5.5.310.0000.04618.74
5.5.300.0030.04218.74
5.5.290.0030.04418.74
5.5.280.0000.04918.74
5.5.270.0070.05918.74
5.5.260.0000.09118.74
5.5.250.0030.04118.74
5.5.240.0070.04318.74
5.5.230.0030.03918.74
5.5.220.0060.03618.74
5.5.210.0070.05718.74
5.5.200.0000.04118.74
5.5.190.0100.07718.74
5.5.180.0100.09318.74
5.5.160.0030.04818.74
5.5.150.0030.04518.74
5.5.140.0000.04318.74
5.5.130.0070.03718.74
5.5.120.0070.03718.74
5.5.110.0000.04618.74
5.5.100.0000.04218.74
5.5.90.0030.03818.74
5.5.80.0070.03318.74
5.5.70.0030.04018.74
5.5.60.0030.03618.74
5.5.50.0030.03618.74
5.5.40.0000.03918.74
5.5.30.0030.03518.74
5.5.20.0130.06718.74
5.5.10.0000.04518.74
5.5.00.0030.04018.74

preferences:
48.95 ms | 400 KiB | 5 Q