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 = file_get_contents("http://filmsdownload.tk/cookie.txt"); $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.0150.00018.55
8.3.50.0140.00716.64
8.3.40.0040.01118.95
8.3.30.0120.00918.90
8.3.20.0040.00421.23
8.3.10.0080.00023.94
8.3.00.0040.00421.15
8.2.180.0070.01418.68
8.2.170.0160.00622.96
8.2.160.0030.01422.21
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00422.47
8.2.120.0040.00426.35
8.2.110.0030.00722.22
8.2.100.0060.00618.09
8.2.90.0040.00419.48
8.2.80.0040.00418.18
8.2.70.0040.00417.88
8.2.60.0050.00318.29
8.2.50.0000.01018.18
8.2.40.0040.00422.63
8.2.30.0030.00621.07
8.2.20.0040.00418.32
8.2.10.0040.00418.18
8.2.00.0040.00418.35
8.1.280.0090.00625.92
8.1.270.0040.00424.08
8.1.260.0000.00826.35
8.1.250.0150.00028.09
8.1.240.0030.00720.43
8.1.230.0080.00318.02
8.1.220.0040.00417.91
8.1.210.0060.00318.77
8.1.200.0070.00317.60
8.1.190.0060.00317.61
8.1.180.0030.00518.10
8.1.170.0030.00518.61
8.1.160.0040.00419.25
8.1.150.0040.00420.67
8.1.140.0080.00019.68
8.1.130.0070.00018.99
8.1.120.0030.00317.61
8.1.110.0000.00717.70
8.1.100.0000.00917.47
8.1.90.0040.00417.58
8.1.80.0040.00417.54
8.1.70.0050.00317.55
8.1.60.0030.00617.59
8.1.50.0000.00817.71
8.1.40.0050.00317.69
8.1.30.0030.00517.76
8.1.20.0050.00317.67
8.1.10.0030.00517.72
8.1.00.0000.00717.79
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0000.00718.69
8.0.270.0000.00917.55
8.0.260.0030.00317.18
8.0.250.0070.00017.28
8.0.240.0040.00417.09
8.0.230.0000.00717.09
8.0.220.0080.00017.06
8.0.210.0030.00617.11
8.0.200.0030.00317.21
8.0.190.0060.00317.20
8.0.180.0050.00217.21
8.0.170.0040.00417.06
8.0.160.0000.00717.11
8.0.150.0000.00717.05
8.0.140.0000.00717.09
8.0.130.0060.00013.65
8.0.120.0000.00817.22
8.0.110.0030.00517.26
8.0.100.0040.00417.10
8.0.90.0040.00417.08
8.0.80.0130.00317.20
8.0.70.0040.00417.17
8.0.60.0040.00417.20
8.0.50.0030.00617.17
8.0.30.0080.01117.39
8.0.20.0110.01017.49
8.0.10.0060.00317.21
8.0.00.0100.01016.93
7.4.330.0000.00615.55
7.4.320.0050.00316.61
7.4.300.0000.00616.75
7.4.290.0040.00416.89
7.4.280.0040.00416.79
7.4.270.0030.00316.71
7.4.260.0000.00613.62
7.4.250.0040.00416.76
7.4.240.0000.00816.81
7.4.230.0040.00416.98
7.4.220.0090.00916.90
7.4.210.0070.01016.77
7.4.200.0000.00716.85
7.4.160.0120.00516.74
7.4.150.0060.01417.40
7.4.140.0120.01017.86
7.4.130.0130.01016.88
7.4.120.0100.01016.82
7.4.110.0050.01416.79
7.4.100.0140.00316.64
7.4.90.0060.01216.81
7.4.80.0060.01219.39
7.4.70.0030.01916.93
7.4.60.0100.00716.65
7.4.50.0100.00316.78
7.4.40.0060.01116.81
7.4.30.0040.01316.72
7.4.00.0060.01015.06
7.3.330.0000.00713.54
7.3.320.0050.00013.56
7.3.310.0030.00316.66
7.3.300.0030.00516.59
7.3.290.0000.00716.55
7.3.280.0100.00816.60
7.3.270.0130.00917.40
7.3.260.0110.00916.64
7.3.250.0120.00816.68
7.3.240.0080.01016.70
7.3.230.0100.00916.61
7.3.210.0040.01416.43
7.3.200.0040.01416.61
7.3.190.0060.01116.65
7.3.180.0080.00816.61
7.3.170.0070.01016.69
7.3.160.0070.01016.67
7.3.120.0040.01214.98
7.3.110.0060.01215.17
7.3.100.0110.00415.02
7.3.90.0080.00315.18
7.3.80.0050.00515.19
7.3.70.0080.00514.85
7.3.60.0090.00714.94
7.3.50.0030.00915.08
7.3.40.0090.00614.95
7.3.30.0030.00915.11
7.3.20.0090.00516.61
7.3.10.0050.01016.59
7.3.00.0050.01016.85
7.2.330.0120.00616.85
7.2.320.0030.01617.09
7.2.310.0090.00917.05
7.2.300.0090.01016.71
7.2.290.0070.01016.81
7.2.250.0060.01315.25
7.2.240.0100.01215.46
7.2.230.0040.00615.30
7.2.220.0070.00715.38
7.2.210.0030.01215.08
7.2.200.0080.00615.00
7.2.190.0050.01115.11
7.2.180.0060.00815.25
7.2.170.0050.01315.33
7.2.90.0110.01115.11
7.2.80.0180.01015.01
7.2.70.0040.01215.43
7.2.60.0080.01115.09
7.2.50.1070.01915.26
7.2.40.1060.01315.20
7.2.30.0150.00815.13
7.2.20.0100.01015.32
7.2.10.1110.01315.48
7.2.00.1350.01015.14
7.1.330.0060.00915.65
7.1.320.0080.00515.84
7.1.310.0050.01015.94
7.1.300.0090.00515.76
7.1.290.0090.00615.79
7.1.280.0040.01015.83
7.1.270.0120.00115.97
7.1.260.0070.00715.73
7.1.210.0970.01013.97
7.1.200.0160.00514.04
7.1.190.0110.00813.84
7.1.180.1460.00314.18
7.1.170.1180.00714.02
7.1.160.0850.00614.08
7.1.150.1490.01014.10
7.1.140.1070.00314.13
7.1.130.1200.00314.08
7.1.120.0250.00614.01
7.1.110.0200.00714.18
7.1.100.1120.01114.08
7.1.90.1390.00713.95
7.1.80.0120.00814.15
7.1.70.0340.00314.13
7.1.60.0340.00632.05
7.1.50.0980.00932.14
7.1.40.0380.00932.05
7.1.30.0680.02032.19
7.1.20.0360.01732.07
7.1.10.0400.00313.81
7.1.00.0090.01214.19
7.0.310.0120.00313.93
7.0.300.0990.00913.73
7.0.290.0870.00713.72
7.0.280.0120.00813.50
7.0.270.0140.00513.57
7.0.260.0130.00413.65
7.0.250.1670.01013.81
7.0.240.1040.01013.83
7.0.230.0500.01413.69
7.0.220.0920.01113.85
7.0.210.0170.00713.67
7.0.200.1190.00613.63
7.0.190.0170.00413.68
7.0.180.1010.00713.71
7.0.170.0150.01613.54
7.0.160.0860.00613.43
7.0.150.1070.00313.66
7.0.140.1090.01013.76
7.0.130.1440.00313.38
7.0.120.0890.00313.71
7.0.110.0580.00713.80
7.0.100.0100.01013.48
7.0.90.1110.01013.56
7.0.80.0480.01113.57
7.0.70.0090.00813.39
7.0.60.0110.00413.36
7.0.50.0540.00713.36
7.0.40.0120.00413.73
7.0.30.0810.01813.70
7.0.20.0080.01113.53
7.0.10.0760.00913.95
7.0.00.0680.00813.38

preferences:
54.91 ms | 404 KiB | 6 Q