3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("precision", 1); echo (string) 12.345;

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.4.140.0140.00817.68
8.4.130.0090.01217.75
8.4.120.0110.00520.50
8.4.110.0130.00622.32
8.4.100.0120.01017.61
8.4.90.0130.00918.37
8.4.80.0150.00519.66
8.4.70.0030.00518.02
8.4.60.0140.00518.79
8.4.50.0110.00918.39
8.4.40.0190.00019.31
8.4.30.0080.00820.75
8.4.20.0160.00317.84
8.4.10.0090.00621.88
8.3.270.0140.00516.42
8.3.260.0120.00816.70
8.3.250.0090.00718.73
8.3.240.0170.00416.28
8.3.230.0110.00816.74
8.3.220.0110.00717.01
8.3.210.0080.01016.49
8.3.200.0070.00216.52
8.3.190.0050.00316.91
8.3.180.0100.00716.44
8.3.170.0110.00719.11
8.3.160.0060.01217.01
8.3.150.0060.01316.89
8.3.140.0110.00716.52
8.3.130.0040.00816.62
8.3.120.0100.01018.79
8.3.110.0030.00620.94
8.3.100.0050.00316.79
8.3.90.0050.00226.77
8.3.80.0040.00818.18
8.3.70.0070.01116.58
8.3.60.0130.00718.31
8.3.50.0090.00916.59
8.3.40.0100.00322.23
8.3.30.0160.00018.54
8.3.20.0090.00924.18
8.3.10.0000.00824.66
8.3.00.0030.00626.16
8.2.290.0100.00820.26
8.2.280.0110.00818.11
8.2.270.0120.00618.72
8.2.260.0080.00018.24
8.2.250.0130.00316.39
8.2.240.0090.00917.02
8.2.230.0030.00622.58
8.2.220.0030.00624.06
8.2.210.0160.00326.77
8.2.200.0090.00016.63
8.2.190.0110.00416.58
8.2.180.0100.01025.92
8.2.170.0070.00718.95
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00726.16
8.2.110.0030.00622.20
8.2.100.0080.00417.86
8.2.90.0040.00418.03
8.2.80.0080.00017.97
8.2.70.0000.00817.50
8.2.60.0000.00819.07
8.2.50.0050.00318.07
8.2.40.0040.00417.78
8.2.30.0110.00818.86
8.2.20.0060.00418.80
8.2.10.0060.00718.73
8.2.00.0110.00218.71
8.1.330.0130.00621.78
8.1.320.0100.00915.93
8.1.310.0070.00018.14
8.1.300.0110.00017.91
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0040.00424.66
8.1.260.0030.01026.35
8.1.250.0050.00328.09
8.1.240.0030.00624.02
8.1.230.0070.00420.88
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0000.00918.50
8.1.160.0110.00618.47
8.1.150.0080.00918.45
8.1.140.0130.00318.46
8.1.130.0090.00818.38
8.1.120.0110.00518.60
8.1.110.0120.00418.53
8.1.100.0110.00618.51
8.1.90.0090.00818.45
8.1.80.0120.00418.46
8.1.70.0110.00518.47
8.1.60.0050.00819.58
8.1.50.0110.00918.60
8.1.40.0150.00418.68
8.1.30.0130.00718.67
8.1.20.0100.00818.66
8.1.10.0150.00318.61
8.1.00.0160.00318.60
8.0.300.0040.00420.27
8.0.290.0050.00316.75
8.0.280.0020.00618.35
8.0.270.0080.00817.94
8.0.260.0070.00818.01
8.0.250.0120.00318.08
8.0.240.0060.01018.11
8.0.230.0080.00817.99
8.0.220.0080.00517.83
8.0.210.0060.00517.88
8.0.200.0080.00517.89
8.0.190.0130.00217.92
8.0.180.0150.00017.87
8.0.170.0040.01117.91
8.0.160.0120.00117.90
8.0.150.0100.00517.88
8.0.140.0140.00417.96
8.0.130.0100.00618.78
8.0.120.0090.00717.82
8.0.110.0100.00517.91
8.0.100.0140.00317.88
8.0.90.0110.00417.90
8.0.80.0130.00317.94
8.0.70.0060.00917.90
8.0.60.0120.00417.89
8.0.50.0090.00017.85
8.0.30.0060.00517.85
8.0.20.0060.00517.88
8.0.10.0050.00418.03

preferences:
37.81 ms | 403 KiB | 5 Q