3v4l.org

run code in 300+ PHP versions simultaneously
<?php $remote_links = "http://es.ninemanga.com/chapter/LALEYENDADEASURAPRLOGONovelaCaptulo1/649751/ http://es.ninemanga.com/chapter/UglyDucklingCaptulo5/649745/"; $content_arr = preg_split("/\n/",$remote_links); $length = count($remote_links); for($j=0;$j<count($remote_links);$j++){ $html = file_get_contents($remote_links[$j], false, $context); //Create a new DOM document $dom = new DOMDocument; //Parse the HTML. The @ is used to suppress any parsing errors //that will be thrown if the $html string isn't valid XHTML. @$dom->loadHTML($html); //Get all links. You could also use any other tag name here, //like 'img' or 'table', to extract other tags. $links = $dom->getElementsByTagName('a'); //Iterate over the extracted links and display their URLs foreach ($links as $link){ //Extract and show the "href" attribute. //echo $link->nodeValue; echo $link->getAttribute('href'), '<br>'; // var_dump ($html); // $html = str_replace('<br />', ',', $html).PHP_EOL; //echo $html.PHP_EOL; //print_r(htmlentities($content).'<br>'); } // print $content_arr[$i].PHP_EOL; //print $title.PHP_EOL; //print $title_no.PHP_EOL; //print $TITLE_master.PHP_EOL; }

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.4.20.0130.00619.75
8.4.10.0000.01118.93
8.3.150.0100.01017.30
8.3.140.0150.00416.82
8.3.130.0050.00518.60
8.3.120.0040.00420.49
8.3.110.0050.00220.94
8.3.100.0030.00524.06
8.3.90.0000.00826.77
8.3.80.0000.00918.81
8.3.70.0090.00618.62
8.3.60.0160.00317.13
8.3.50.0050.00818.52
8.3.40.0130.00318.76
8.3.30.0040.01118.92
8.3.20.0030.00621.87
8.3.10.0040.00423.53
8.3.00.0040.00419.55
8.2.270.0100.01017.35
8.2.260.0040.01120.24
8.2.250.0040.00416.84
8.2.240.0070.01017.27
8.2.230.0110.00022.58
8.2.220.0060.00637.54
8.2.210.0100.01026.77
8.2.200.0000.01018.91
8.2.190.0200.00017.13
8.2.180.0090.00917.13
8.2.170.0110.00422.96
8.2.160.0040.01122.29
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00319.21
8.2.120.0000.00826.35
8.2.110.0090.00022.08
8.2.100.0040.00717.91
8.2.90.0000.00818.15
8.2.80.0000.00919.48
8.2.70.0030.00719.41
8.2.60.0050.00317.88
8.2.50.0050.00518.10
8.2.40.0060.00319.10
8.2.30.0040.00419.43
8.2.20.0070.00018.20
8.2.10.0030.00618.10
8.2.00.0040.00418.29
8.1.310.0120.00616.55
8.1.300.0120.00618.60
8.1.290.0030.00630.84
8.1.280.0130.00325.92
8.1.270.0040.00422.19
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0040.00422.19
8.1.230.0050.00520.98
8.1.220.0000.00817.76
8.1.210.0000.00819.04
8.1.200.0060.00317.61
8.1.190.0060.00617.47
8.1.180.0040.00418.10
8.1.170.0040.00418.89
8.1.160.0040.00419.05
8.1.150.0000.00718.98
8.1.140.0040.00417.82
8.1.130.0000.00719.12
8.1.120.0070.00017.66
8.1.110.0050.00217.64
8.1.100.0040.00417.68
8.1.90.0050.00617.70
8.1.80.0030.00317.68
8.1.70.0000.00717.64
8.1.60.0040.00817.66
8.1.50.0030.00517.70
8.1.40.0000.00817.60
8.1.30.0000.00917.79
8.1.20.0060.00617.85
8.1.10.0000.00717.71
8.1.00.0000.00817.69
8.0.300.0060.00320.03
8.0.290.0030.00517.13
8.0.280.0070.00018.43
8.0.270.0050.00217.25
8.0.260.0040.00419.11
8.0.250.0070.00017.20
8.0.240.0000.00817.13
8.0.230.0000.00717.17
8.0.220.0060.00316.97
8.0.210.0030.00316.93
8.0.200.0050.00217.02
8.0.190.0000.00717.03
8.0.180.0000.00716.98
8.0.170.0000.00817.04
8.0.160.0030.00517.18
8.0.150.0040.00417.05
8.0.140.0000.00717.15
8.0.130.0030.00313.57
8.0.120.0000.00817.13
8.0.110.0000.00816.95
8.0.100.0030.00617.20
8.0.90.0050.00317.08
8.0.80.0050.01017.14
8.0.70.0040.00416.91
8.0.60.0020.00517.01
8.0.50.0000.00817.11
8.0.30.0120.00817.20
8.0.20.0080.01117.50
8.0.10.0080.00017.11
8.0.00.0080.01016.88
7.4.330.0000.00515.55
7.4.320.0030.00316.75
7.4.300.0070.00016.76
7.4.290.0030.00316.74
7.4.280.0030.00716.76
7.4.270.0000.00716.76
7.4.260.0000.00716.72
7.4.250.0040.00416.71
7.4.240.0050.00216.94
7.4.230.0000.00716.94
7.4.220.0000.00716.66
7.4.210.0100.00616.84
7.4.200.0070.00016.86
7.4.160.0060.01016.79
7.4.140.0080.01217.86
7.4.130.0090.00916.75
7.4.120.0110.00916.86
7.3.330.0000.00713.50
7.3.320.0030.00313.47
7.3.310.0080.00016.66
7.3.300.0030.00316.44
7.3.290.0030.00316.63
7.3.280.0180.00816.63
7.3.260.0190.00916.71
7.3.240.0070.01016.86

preferences:
30.64 ms | 403 KiB | 5 Q