3v4l.org

run code in 300+ PHP versions simultaneously
<?php $movie = "http://captainamericacivilwarmovie.pro/"; function scrape($URL){ //cURL options $options = Array( CURLOPT_RETURNTRANSFER => TRUE, //return html data in string instead of printing it out on screen CURLOPT_FOLLOWLOCATION => TRUE, //follow header('Location: location'); CURLOPT_CONNECTTIMEOUT => 60, //max time to try to connect to page CURLOPT_HEADER => FALSE, //include header CURLOPT_REFERER => 'http://captainamericacivilwarmovie.pro/', CURLOPT_USERAGENT => "Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0", //User Agent CURLOPT_URL => $URL //SET THE URL ); $ch = curl_init($URL); curl_setopt_array($ch, $options); $data = curl_exec($ch); curl_close($ch); preg_match_all('/<iframe .* src=\"(.*?)\" .*><\/iframe>/', $data, $matches); $retData=''; echo '<pre>'; print_r( $matches); echo '</pre>'; if($matches[1][1] != null){ $retData=$matches[1][1]; }else if($matches[1][0] != null){ $retData=$matches[1][0]; }else $retData=''; echo $retData; } scrape($movie); ?>

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.0070.00718.52
8.3.50.0150.00316.50
8.3.40.0110.00418.96
8.3.30.0070.01018.71
8.3.20.0040.00418.77
8.3.10.0080.00023.70
8.3.00.0080.00017.92
8.2.180.0030.01416.75
8.2.170.0090.01522.96
8.2.160.0100.00321.06
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00317.84
8.2.120.0080.00026.35
8.2.110.0050.00519.27
8.2.100.0070.00417.75
8.2.90.0050.00319.21
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0060.00319.76
8.2.30.0040.00418.16
8.2.20.0050.00217.81
8.2.10.0080.00018.14
8.2.00.0040.00418.13
8.1.280.0060.00925.92
8.1.270.0070.00723.76
8.1.260.0070.00028.09
8.1.250.0000.00728.09
8.1.240.0090.00019.65
8.1.230.0060.00617.42
8.1.220.0000.00717.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0000.00722.05
8.1.150.0040.00818.98
8.1.140.0040.00419.54
8.1.130.0050.00317.60
8.1.120.0030.00317.45
8.1.110.0060.00317.39
8.1.100.0030.00517.48
8.1.90.0000.00817.37
8.1.80.0080.00017.54
8.1.70.0050.00217.37
8.1.60.0040.00417.58
8.1.50.0030.00617.50
8.1.40.0100.00317.45
8.1.30.0000.00817.71
8.1.20.0050.00317.66
8.1.10.0030.00517.58
8.1.00.0060.00317.55
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.46
8.0.270.0000.00817.28
8.0.260.0000.00617.20
8.0.250.0040.00417.05
8.0.240.0030.00317.08
8.0.230.0050.00317.00
8.0.220.0040.00416.86
8.0.210.0000.00716.84
8.0.200.0070.00017.05
8.0.190.0030.00617.05
8.0.180.0070.00017.02
8.0.170.0000.00817.00
8.0.160.0050.00317.00
8.0.150.0000.00716.86
8.0.140.0030.00316.79
8.0.130.0030.00313.37
8.0.120.0050.00516.82
8.0.110.0030.00516.99
8.0.100.0040.00416.99
8.0.90.0000.00817.02
8.0.80.0120.00417.01
8.0.70.0000.00717.00
8.0.60.0030.00616.97
8.0.50.0040.00416.85
8.0.30.0130.00217.13
8.0.20.0150.00717.41
8.0.10.0000.00817.05
8.0.00.0030.01316.77
7.4.330.0020.00215.08
7.4.320.0030.00316.64
7.4.300.0000.00716.66
7.4.290.0030.00316.63
7.4.280.0070.00016.54
7.4.270.0030.00316.60
7.4.260.0050.00316.57
7.4.250.0090.00016.45
7.4.240.0070.00016.49
7.4.230.0030.00316.28
7.4.220.0100.01016.67
7.4.210.0100.00316.66
7.4.200.0000.00716.52
7.4.160.0060.01016.64
7.4.150.0090.00917.40
7.4.140.0150.00517.86
7.4.130.0100.01316.74
7.4.120.0120.00916.69
7.4.110.0090.00916.65
7.4.100.0160.00716.48
7.4.90.0070.01416.73
7.4.80.0100.00719.39
7.4.70.0120.01216.44
7.4.60.0080.00816.55
7.4.50.0040.01416.37
7.4.40.0060.00916.36
7.4.30.0130.00916.45
7.4.00.0100.00315.28
7.3.330.0050.00313.27
7.3.320.0000.00513.32
7.3.310.0030.00516.45
7.3.300.0000.00716.45
7.3.290.0100.00816.40
7.3.280.0090.00916.39
7.3.270.0090.00917.40
7.3.260.0120.01316.46
7.3.250.0080.01416.52
7.3.240.0070.00916.50
7.3.230.0220.01516.66
7.3.210.0120.00916.66
7.3.200.0090.00919.39
7.3.190.0030.01716.39
7.3.180.0090.01216.60
7.3.170.0070.01016.43
7.3.160.0060.00916.35
7.3.120.0110.00314.82
7.3.110.0000.01314.96
7.3.100.0040.01114.61
7.3.90.0000.01014.91
7.3.80.0030.00914.89
7.3.70.0140.00014.83
7.3.60.0110.00414.76
7.3.50.0080.00314.92
7.3.40.0060.00314.94
7.3.30.0030.00714.97
7.3.20.0030.00716.51
7.3.10.0070.00316.90
7.3.00.0090.00616.68
7.2.330.0150.00916.64
7.2.320.0060.01016.35
7.2.310.0070.01016.59
7.2.300.0060.00916.37
7.2.290.0080.00816.71
7.2.240.0090.00614.75
7.2.230.0080.00615.09
7.2.220.0030.01214.95
7.2.210.0130.00315.00
7.2.200.0000.01114.67
7.2.190.0110.00414.91
7.2.180.0000.00915.03
7.2.170.0100.00315.02
7.2.160.0030.00715.00
7.2.150.0030.01216.80
7.2.140.0060.00616.89
7.2.130.0060.00916.86
7.2.120.0110.00316.93
7.2.110.0140.00316.55
7.2.100.0060.00316.65
7.2.90.0000.01416.89
7.2.80.0080.00716.59
7.2.70.0000.01716.52
7.2.60.0060.00916.82
7.2.50.0080.00816.95
7.2.40.0000.00916.76
7.2.30.0030.01216.82
7.2.20.0030.01316.89
7.2.10.0030.00916.72
7.2.00.0030.01218.29
7.1.330.0070.00715.61
7.1.320.0040.01115.95
7.1.310.0100.00315.57
7.1.300.0030.01015.46
7.1.290.0000.01415.78
7.1.280.0030.01015.97
7.1.270.0030.01015.68
7.1.260.0060.00815.54
7.1.250.0030.00715.94
7.1.200.0040.00715.73
7.1.100.0030.01318.39
7.1.70.0000.00717.30
7.1.60.0040.01919.33
7.1.50.0130.00016.80
7.1.00.0130.06322.35
7.0.200.0030.00716.55
7.0.60.0070.07721.83
7.0.50.0300.06020.29
7.0.40.0100.06720.27
7.0.30.0200.07020.46
7.0.20.0070.07720.37
7.0.10.0230.06720.38
7.0.00.0300.05720.33
5.6.280.0070.06720.91
5.6.210.0130.03320.48
5.6.200.0230.07321.13
5.6.190.0370.05721.13
5.6.180.0230.06321.03
5.6.170.0100.07321.07
5.6.160.0200.06021.21
5.6.150.0170.06321.06
5.6.140.0630.06021.06
5.6.130.0300.06321.21
5.6.120.0370.07021.03
5.6.110.0670.05321.20
5.6.100.0400.07721.02
5.6.90.0270.07721.03
5.6.80.0330.05720.35
5.6.70.0370.06020.55
5.6.60.0370.06020.50
5.6.50.0400.06320.57
5.6.40.0130.06320.44
5.6.30.0270.06020.30
5.6.20.0200.06020.47
5.6.10.0330.07720.54
5.6.00.0070.07020.55
5.5.350.0030.05720.35
5.5.340.0400.05320.80
5.5.330.0330.06020.84
5.5.320.0330.04720.88
5.5.310.0300.05320.90
5.5.300.0230.08020.75
5.5.290.0200.07320.84
5.5.280.0270.06320.87
5.5.270.0130.07021.04
5.5.260.0400.08020.80
5.5.250.0270.07720.62
5.5.240.0300.05320.39
5.5.230.0270.06020.22
5.5.220.0330.05720.38
5.5.210.0230.06320.40
5.5.200.0300.04720.07
5.5.190.0130.06320.38
5.5.180.0170.05720.18
5.5.160.0270.06720.38
5.5.150.0370.06320.18
5.5.140.0500.06020.14
5.5.130.0570.06720.18
5.5.120.0230.06720.14
5.5.110.0370.06020.38
5.5.100.0430.05020.18
5.5.90.0270.05720.19
5.5.80.0200.08320.20
5.5.70.0200.06019.96
5.5.60.0370.06020.13
5.5.50.0230.05020.09
5.5.40.0400.04320.13
5.5.30.0130.06719.99
5.5.20.0430.06320.09
5.5.10.0230.04720.07
5.5.00.0400.07320.11

preferences:
57.5 ms | 401 KiB | 5 Q