3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Math(){ ?><script type="text/javascript" src="//code.jquery.com/jquery-1.11.3.min.js"></script><script type="text/javascript">Math.random();</script> <?php } ?> <?php $Url = "http://tinyz.us/dl25085"; $vars = "login_user=AmirMahmood&login_password=ammhd1374&captcha_code="; $cookie_file = fopen("http://filmsdownload.tk/cookie.txt", 'r'); $ch = curl_init(); // Now set some options (most are optional) // Set URL to download curl_setopt($ch, CURLOPT_URL, $Url); // Set a referer curl_setopt($ch, CURLOPT_REFERER, "http://tinyz.us/"); // User agent curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36"); // Include header in result? (0 = yes, 1 = no) curl_setopt($ch, CURLOPT_HEADER, 0); // Should cURL return or print out the data? (true = return, false = print) curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // curl_setopt($ch, CURLOPT_POST, 1); // curl_setopt($ch, CURLOPT_POSTFIELDS, $vars); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); // Timeout in seconds curl_setopt($ch, CURLOPT_TIMEOUT, 10); // Download the given URL, and return output $output = curl_exec($ch); // Close the cURL resource, and free system resources curl_close($ch); echo $output; ?>

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.0190.00418.43
8.3.50.0070.01416.29
8.3.40.0110.01119.22
8.3.30.0180.00319.22
8.3.20.0040.00419.48
8.3.10.0060.00324.03
8.3.00.0080.00021.33
8.2.180.0180.00318.81
8.2.170.0140.00722.96
8.2.160.0100.00322.38
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0030.00522.38
8.2.120.0040.00426.35
8.2.110.0090.01222.41
8.2.100.0070.00717.91
8.2.90.0040.00419.28
8.2.80.0040.00418.18
8.2.70.0030.00618.00
8.2.60.0030.00518.05
8.2.50.0070.00318.10
8.2.40.0000.00820.62
8.2.30.0030.00819.55
8.2.20.0030.00618.36
8.2.10.0040.00418.26
8.2.00.0050.00218.36
8.1.280.0130.00625.92
8.1.270.0030.00524.20
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00424.16
8.1.230.0080.00322.95
8.1.220.0040.00418.03
8.1.210.0090.00018.77
8.1.200.0060.00317.60
8.1.190.0000.00817.60
8.1.180.0030.00518.10
8.1.170.0040.00418.91
8.1.160.0080.00019.25
8.1.150.0060.00320.91
8.1.140.0000.00819.77
8.1.130.0050.00219.09
8.1.120.0040.00417.59
8.1.110.0000.00817.54
8.1.100.0050.00317.56
8.1.90.0040.00417.63
8.1.80.0000.00817.54
8.1.70.0000.00817.53
8.1.60.0030.00617.61
8.1.50.0060.00317.79
8.1.40.0060.00317.60
8.1.30.0040.00417.84
8.1.20.0040.00417.86
8.1.10.0060.00317.73
8.1.00.0000.00917.63
8.0.300.0080.00020.17
8.0.290.0030.00517.25
8.0.280.0000.00818.71
8.0.270.0040.00417.50
8.0.260.0030.00517.14
8.0.250.0040.00417.14
8.0.240.0040.00417.16
8.0.230.0050.00317.29
8.0.220.0000.00717.04
8.0.210.0040.00417.02
8.0.200.0040.00417.15
8.0.190.0030.00617.25
8.0.180.0070.00017.25
8.0.170.0000.00817.12
8.0.160.0000.00717.11
8.0.150.0050.00217.14
8.0.140.0000.00717.07
8.0.130.0000.00613.59
8.0.120.0000.00817.17
8.0.110.0080.00017.23
8.0.100.0000.00817.27
8.0.90.0040.00417.23
8.0.80.0110.00717.15
8.0.70.0040.00417.13
8.0.60.0000.00817.11
8.0.50.0080.00017.09
8.0.30.0130.00917.34
8.0.20.0110.01117.46
8.0.10.0040.00417.16
8.0.00.0220.00317.25
7.4.330.0030.00315.55
7.4.320.0000.00716.74
7.4.300.0000.00716.65
7.4.290.0000.00816.70
7.4.280.0000.00816.63
7.4.270.0020.00516.70
7.4.260.0030.00313.60
7.4.250.0050.00316.73
7.4.240.0050.00316.87
7.4.230.0020.00516.71
7.4.220.0030.01716.96
7.4.210.0110.00816.91
7.4.200.0050.00316.69
7.4.160.0120.00516.93
7.4.150.0110.00717.40
7.4.140.0110.00917.86
7.4.130.0130.01316.84
7.4.120.0120.01216.83
7.4.110.0160.00916.85
7.4.100.0090.01216.73
7.4.90.0150.00416.85
7.4.80.0140.00519.39
7.4.70.0110.00716.90
7.4.60.0070.01016.82
7.4.50.0100.00716.69
7.4.40.0100.00716.66
7.4.30.0090.00916.73
7.4.00.0030.01515.13
7.3.330.0060.00013.38
7.3.320.0000.00613.37
7.3.310.0070.00016.73
7.3.300.0070.00016.53
7.3.290.0040.00416.59
7.3.280.0090.00916.57
7.3.270.0130.00917.40
7.3.260.0110.00816.58
7.3.250.0120.00616.64
7.3.240.0050.01516.76
7.3.230.0130.00616.55
7.3.210.0060.01216.68
7.3.200.0090.00916.57
7.3.190.0130.01316.42
7.3.180.0110.01116.61
7.3.170.0160.00016.75
7.3.160.0120.00416.71
7.2.330.0150.00316.93
7.2.320.0110.00716.90
7.2.310.0070.01017.07
7.2.300.0070.01016.59
7.2.290.0090.00916.97
7.2.90.0650.00715.04
7.2.80.0790.00314.78
7.2.70.0090.01214.93
7.2.60.0770.01315.21
7.2.50.0760.00615.36
7.2.40.0850.00315.32
7.2.30.0740.01015.43
7.2.20.0890.00615.06
7.2.10.0680.01315.52
7.2.00.1120.00714.98
7.1.210.0080.00714.13
7.1.200.0650.00014.14
7.1.190.1090.00313.76
7.1.180.1120.01014.12
7.1.170.1220.01013.96
7.1.160.0900.01014.16
7.1.150.0930.00013.76
7.1.140.0770.00913.99
7.1.130.0670.00714.10
7.1.120.0580.00714.19
7.1.110.0980.01014.11
7.1.100.0600.00714.07
7.1.90.0660.01014.23
7.1.80.0590.00014.10
7.1.70.0490.01913.84
7.1.60.0810.00732.26
7.1.50.1460.00331.99
7.1.40.1070.00732.37
7.1.30.1010.01932.19
7.1.20.0920.01631.74
7.1.10.0690.00913.90
7.1.00.0590.01014.08
7.0.310.0820.01613.53
7.0.300.0130.00313.76
7.0.290.1060.01113.72
7.0.280.0820.00713.74
7.0.270.0970.00713.89
7.0.260.1220.00713.67
7.0.250.1110.01313.84
7.0.240.0560.01013.66
7.0.230.1590.00713.67
7.0.220.0820.00313.72
7.0.210.0800.01313.38
7.0.200.0650.00313.90
7.0.190.1170.01013.63
7.0.180.0930.01013.66
7.0.170.0850.01013.93
7.0.160.0700.00713.61
7.0.150.0730.00313.84
7.0.140.0530.01013.53
7.0.130.1030.01013.92
7.0.120.0550.00613.53
7.0.110.0580.00313.73
7.0.100.0650.00713.82
7.0.90.0710.01013.72
7.0.80.0630.01313.55
7.0.70.1180.00313.80
7.0.60.0740.01013.75
7.0.50.0840.00713.58
7.0.40.0530.01013.97
7.0.30.0590.01013.33
7.0.20.1770.00613.59
7.0.10.0550.01013.53
7.0.00.0650.01013.96

preferences:
47.18 ms | 401 KiB | 5 Q