3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo 1/7; // 0.14285714285714 ini_set('precision', 2); echo 1/7; // 0.14 ini_set('precision', 200); echo 1/7; // 0.142857142857142849212692681248881854116916656494140625 (php) // 0.142857142857142857142857142857142857142857142857142857 (real) // garbage starts at 18 and stops at 54 ?>

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.5.70.0080.00818.46
8.5.60.0080.00916.83
8.5.50.0100.00816.55
8.5.30.0130.00717.91
8.5.20.0100.00819.18
8.5.10.0100.00916.42
8.5.00.0100.01019.75
8.4.220.0060.00319.43
8.4.210.0120.00419.49
8.4.180.0110.01119.60
8.4.170.0100.01220.43
8.4.160.0100.01223.94
8.4.150.0090.00316.77
8.4.140.0150.00717.42
8.4.130.0120.00818.05
8.4.120.0120.00820.64
8.4.110.0090.00822.34
8.4.100.0050.00617.77
8.4.90.0110.01017.45
8.4.80.0170.00317.65
8.4.70.0080.00317.38
8.4.60.0130.00817.68
8.4.50.0120.00817.60
8.4.40.0240.00317.32
8.4.30.0100.00019.44
8.4.20.0250.00017.50
8.4.10.0220.00017.58
8.3.310.0100.01018.10
8.3.300.0130.00620.80
8.3.290.0050.00420.67
8.3.280.0130.00818.24
8.3.270.0070.01216.14
8.3.260.0130.00616.60
8.3.250.0120.00618.71
8.3.240.0130.00616.49
8.3.230.0100.00816.21
8.3.220.0140.00517.05
8.3.210.0060.01216.41
8.3.200.0110.00818.82
8.3.190.0060.00216.44
8.3.180.0120.00716.45
8.3.170.0230.00816.26
8.3.160.0160.00516.19
8.3.150.0140.00716.44
8.3.140.0260.00616.30
8.3.130.0260.00016.43
8.3.120.0060.01216.35
8.3.110.0180.00916.23
8.3.100.0390.00016.23
8.3.90.0300.00916.72
8.3.80.0370.01116.23
8.3.70.0230.01516.39
8.3.60.0240.00316.46
8.3.50.0210.00416.37
8.3.40.0320.00617.40
8.3.30.0270.00917.54
8.3.20.0300.00517.13
8.3.10.0290.00717.52
8.3.00.0190.00317.22
8.2.300.0120.00922.17
8.2.290.0120.00620.50
8.2.280.0040.00416.64
8.2.270.0320.00916.37
8.2.260.0340.01016.23
8.2.250.0270.01016.41
8.2.240.0400.00016.54
8.2.230.0290.01116.28
8.2.220.0310.00716.46
8.2.210.0270.01016.21
8.2.200.0270.01116.19
8.2.190.0310.00916.39
8.2.180.0310.00716.14
8.2.170.0420.00317.59
8.2.160.0380.01017.48
8.2.150.0390.00717.52
8.2.140.0340.01017.29
8.2.130.0270.01417.30
8.2.120.0300.01017.44
8.2.110.0320.00317.43
8.2.100.0170.01417.37
8.2.90.0260.01517.32
8.2.80.0300.00417.29
8.2.70.0380.00616.91
8.2.60.0320.00717.28
8.2.50.0200.01717.33
8.2.40.0320.00417.28
8.2.30.0290.00817.29
8.2.20.0280.00717.13
8.2.10.0290.00617.05
8.2.00.0270.01217.28
8.1.340.0100.01221.48
8.1.320.0080.00615.98

preferences:
53.26 ms | 868 KiB | 5 Q