3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_clear_last(); if (! @unlink($cant_delete_this_file) ) { $error = error_get_last(); throw new Exception("failed to unlink $cant_delete_this_file: ". ($error["message"] ?? "")); }

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.0090.00618.41
8.3.50.0100.00516.16
8.3.40.0130.00318.81
8.3.30.0150.00018.59
8.3.20.0030.00618.77
8.3.10.0050.00323.66
8.3.00.0050.00319.67
8.2.180.0150.00316.75
8.2.170.0110.00322.96
8.2.160.0130.00020.21
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00719.95
8.2.110.0000.01020.45
8.2.100.0120.00017.91
8.2.90.0080.00018.03
8.2.80.0050.00522.09
8.2.70.0030.00617.75
8.2.60.0040.00417.75
8.2.50.0000.00817.63
8.2.40.0040.00419.34
8.2.30.0030.00619.34
8.2.20.0000.00718.11
8.2.10.0040.00418.18
8.2.00.0000.00817.73
8.1.270.0080.00020.62
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.01320.72
8.1.230.0110.00022.19
8.1.220.0000.00817.79
8.1.210.0000.00918.77
8.1.200.0000.00817.48
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0000.00818.50
8.1.160.0040.00418.80
8.1.150.0000.00718.89
8.1.140.0000.00720.14
8.1.130.0000.00720.16
8.1.120.0000.00717.46
8.1.110.0040.00417.35
8.1.100.0000.00817.43
8.1.90.0000.00817.37
8.1.80.0070.00017.38
8.1.70.0040.00417.45
8.1.60.0040.00417.46
8.1.50.0000.00817.59
8.1.40.0000.00817.51
8.1.30.0040.00417.53
8.1.20.0040.00417.54
8.1.10.0040.00417.61
8.1.00.0040.00417.38
8.0.300.0040.00419.89
8.0.290.0040.00416.88
8.0.280.0000.00718.46
8.0.270.0000.00717.27
8.0.260.0040.00420.07
8.0.250.0030.00316.94
8.0.240.0030.00316.99
8.0.230.0060.00317.04
8.0.220.0070.00316.85
8.0.210.0000.00716.85
8.0.200.0000.00717.01
8.0.190.0000.00717.02
8.0.180.0050.00317.02
8.0.170.0040.00416.98
8.0.160.0040.00416.96
8.0.150.0030.00416.91
8.0.140.0030.00316.82
8.0.130.0000.00513.38
8.0.120.0080.00016.95
8.0.110.0040.00417.01
8.0.100.0040.00416.75
8.0.90.0000.00816.91
8.0.80.0090.00616.97
8.0.70.0050.00316.84
8.0.60.0000.00716.89
8.0.50.0050.00216.82
8.0.30.0130.00617.13
8.0.20.0110.00717.40
8.0.10.0070.00017.03
8.0.00.0070.01416.84
7.4.330.0000.00515.55
7.4.320.0000.00616.58
7.4.300.0030.00616.66
7.4.290.0000.00816.55
7.4.280.0050.00316.41
7.4.270.0000.00716.52
7.4.260.0030.00616.61
7.4.250.0000.00716.57
7.4.240.0000.00716.62
7.4.230.0070.00016.41
7.4.220.0000.00816.45
7.4.210.0080.00616.57
7.4.200.0000.00716.50
7.4.160.0110.00616.61
7.4.140.0100.00717.86
7.4.130.0100.00716.60
7.4.120.0090.00916.58
7.4.110.0090.00916.36
7.4.100.0130.00316.51
7.4.90.0080.00816.61
7.4.80.0030.01219.39
7.4.70.0000.01716.55
7.4.60.0150.00616.63
7.4.50.0060.01016.47
7.4.40.0130.00916.27
7.4.00.0000.01214.98
7.3.330.0020.00213.06
7.3.320.0060.00013.17
7.3.310.0000.00716.33
7.3.300.0070.00016.29
7.3.290.0000.00716.20
7.3.280.0090.00516.38
7.3.260.0100.00916.53
7.3.240.0110.00816.53
7.3.230.0100.01016.59
7.3.210.0040.01916.41
7.3.200.0180.00316.36
7.3.190.0080.00816.58
7.3.180.0110.00416.50
7.3.170.0090.00616.43
7.3.160.0080.00916.38
7.2.330.0070.01016.56
7.2.320.0090.01116.73
7.2.310.0090.00916.70
7.2.300.0130.00716.77
7.2.290.0080.01716.81
7.2.110.0690.00314.84
7.2.100.0460.01314.73
7.2.90.4590.00314.79
7.2.80.0850.00714.88
7.2.70.0340.00715.01
7.2.60.0100.01015.13
7.2.50.0140.00614.91
7.2.40.0930.00315.21
7.2.30.0270.00714.97
7.2.20.0200.00714.97
7.2.10.0120.00415.05
7.2.00.9920.00314.90
7.1.230.0800.01314.04
7.1.220.0140.00614.05
7.1.210.0390.01313.77
7.1.200.1280.00614.02
7.1.190.0600.00613.67
7.1.180.0070.01013.96
7.1.170.0180.00813.98
7.1.160.0090.00613.84
7.1.150.0100.01013.88
7.1.140.0130.00314.05
7.1.130.0060.01013.78
7.1.120.7740.00713.91
7.1.110.5710.01014.17
7.1.100.6070.01014.02
7.1.90.5010.00313.93
7.1.80.4200.00714.07
7.1.70.4910.00713.94
7.1.60.5130.01931.96
7.1.50.4270.00732.05
7.1.40.4940.00331.95
7.1.30.6520.00331.77
7.1.20.7130.01031.84
7.1.10.1990.01613.96
7.1.00.0170.00913.82
5.6.380.0060.00613.89

preferences:
59.33 ms | 400 KiB | 5 Q