3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \NumberFormatter("fr-FR", \NumberFormatter::PERCENT); echo $a->format(12); // 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.0110.00620.31
8.3.50.0150.00418.27
8.3.40.0040.01120.06
8.3.30.0040.01219.78
8.3.20.0000.00820.10
8.3.10.0070.00722.16
8.3.00.0040.00419.53
8.2.180.0170.00318.38
8.2.170.0130.00622.96
8.2.160.0110.00420.33
8.2.150.0040.01224.18
8.2.140.0120.00324.66
8.2.130.0040.00421.70
8.2.120.0080.00026.35
8.2.110.0050.00523.34
8.2.100.0040.00821.33
8.2.90.0000.00819.25
8.2.80.0070.00319.92
8.2.70.0000.00819.40
8.2.60.0000.01119.54
8.2.50.0000.00819.09
8.2.40.0060.00322.34
8.2.30.0000.00720.70
8.2.20.0040.00419.58
8.2.10.0040.00419.71
8.2.00.0000.00720.71
8.1.280.0270.00825.92
8.1.270.0060.00825.07
8.1.260.0030.01626.35
8.1.250.0080.00028.09
8.1.240.0060.00324.98
8.1.230.0060.00620.64
8.1.220.0050.00319.90
8.1.210.0060.00318.85
8.1.200.0070.00318.85
8.1.190.0060.00318.85
8.1.180.0040.00419.02
8.1.170.0040.00420.09
8.1.160.0000.00720.01
8.1.150.0040.00420.10
8.1.140.0000.00819.27
8.1.130.0000.00720.32
8.1.120.0000.00819.20
8.1.110.0050.00319.20
8.1.100.0020.00519.23
8.1.90.0040.00419.08
8.1.80.0040.00418.83
8.1.70.0030.00518.83
8.1.60.0030.00519.28
8.1.50.0040.00419.19
8.1.40.0000.00919.25
8.1.30.0000.00819.34
8.1.20.0040.00419.41
8.1.10.0050.00319.46
8.1.00.0030.00519.38
8.0.300.0040.00418.91
8.0.290.0080.00018.38
8.0.280.0070.00019.64
8.0.270.0000.00718.82
8.0.260.0040.00418.96
8.0.250.0000.00818.79
8.0.240.0040.00418.51
8.0.230.0050.00218.50
8.0.220.0040.00418.37
8.0.210.0000.00818.54
8.0.200.0030.00318.59
8.0.190.0000.00918.66
8.0.180.0040.00418.63
8.0.170.0060.00318.38
8.0.160.0040.00418.48
8.0.150.0040.00418.27
8.0.140.0030.00618.43
8.0.130.0050.00013.38
8.0.120.0000.00818.55
8.0.110.0050.00318.50
8.0.100.0030.00518.55
8.0.90.0080.00018.21
8.0.80.0110.00518.58
8.0.70.0080.00018.75
8.0.60.0040.00418.58
8.0.50.0000.00718.75
8.0.30.0110.00818.68
8.0.20.0110.00818.91
8.0.10.0000.00818.66
8.0.00.0130.01418.68
7.4.330.0050.00015.55
7.4.320.0000.00618.54
7.4.300.0030.00518.54
7.4.290.0000.00818.56
7.4.280.0030.00618.19
7.4.270.0050.00518.33
7.4.260.0000.00818.55
7.4.250.0000.00818.29
7.4.240.0070.00018.51
7.4.230.0040.00418.29
7.4.220.0070.00018.41
7.4.210.0100.00718.40
7.4.200.0050.00218.63
7.4.160.0110.00918.19
7.4.140.0130.00618.17
7.4.130.0090.01018.18
7.4.120.0080.01218.23
7.4.110.0120.00618.07
7.4.100.0070.01418.49
7.4.90.0130.00618.25
7.4.80.0140.00419.39
7.4.70.0150.00318.33
7.4.60.0030.01318.21
7.4.50.0110.00518.09
7.4.40.0110.01118.39
7.4.00.0060.01216.52
7.3.330.0020.00213.01
7.3.320.0000.00513.24
7.3.310.0020.00518.09
7.3.300.0000.00717.84
7.3.290.0070.00017.93
7.3.280.0080.00817.93
7.3.260.0110.00717.98
7.3.240.0120.00918.23
7.3.230.0110.00718.25
7.3.210.0140.00318.11
7.3.200.0100.00617.93
7.3.190.0120.00418.02
7.3.180.0170.00018.16
7.3.170.0040.01217.86
7.3.160.0120.00618.04
7.3.10.0110.00318.02
7.3.00.0040.01217.95
7.2.330.0030.01518.13
7.2.320.0060.01318.20
7.2.310.0080.01118.33
7.2.300.0060.01618.06
7.2.290.0070.01418.26
7.2.130.0090.00318.24
7.2.120.0040.00818.32
7.2.110.0130.00018.34
7.2.100.0050.00518.66
7.2.90.0000.01818.38
7.2.80.0090.00618.46
7.2.70.0120.00318.30
7.2.60.0970.00717.28
7.2.50.0950.01117.61
7.2.40.1070.01117.89
7.2.30.0890.01018.00
7.2.20.1190.00817.88
7.2.10.1100.01217.61
7.2.00.1090.00817.91
7.1.250.0090.00317.43
7.1.200.0000.01417.16
7.1.170.1960.00915.41
7.1.160.2320.01218.77
7.1.150.1970.00618.36
7.1.140.2320.01418.77
7.1.130.2100.01318.93
7.1.120.2400.01418.77
7.1.110.2220.01018.14
7.1.100.2070.01317.97
7.1.90.2030.01318.04
7.1.80.2070.01018.14
7.1.70.2810.00717.29
7.1.60.2700.01533.07
7.1.50.2570.01832.66
7.1.40.2370.01432.47
7.1.30.2330.01832.74
7.1.20.2300.01232.54
7.1.10.1930.01316.42
7.1.00.1910.00916.57

preferences:
56.01 ms | 400 KiB | 5 Q