3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html ="<div align=center><object><embed src='http://www.GamesForWork.com/games/swf/Rodent Tree Jump january 4th 2007.swf' quality='autohigh' wmode='direct' width='640' height='400' name='gameObj' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer'/></object><br><font face=verdana size=1><a href='http://www.gamesforwork.com/' target='_blank'>10 daily games at gamesforwork.com</a></font></div><div align=center><object><embed src='http://www.GamesForWork.com/games/swf/Rodent Tree Jump january 4th 2007.swf' quality='autohigh' wmode='direct' width='640' height='400' name='gameObj' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer'/></object><br><font face=verdana size=1><a href='http://www.gamesforwork.com/' target='_blank'>10 daily games at gamesforwork.com</a></font></div> "; //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('embed'); //Iterate over the extracted links and display their URLs foreach ($links as $link){ //Extract and show the "href" attribute. echo $link->getAttribute('src').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.5.30.0080.00919.80
8.5.20.0130.00719.91
8.5.10.0100.00816.97
8.5.00.0120.00920.18
8.4.180.0120.01019.89
8.4.170.0110.01123.99
8.4.160.0120.01123.27
8.4.150.0070.00617.01
8.4.140.0150.00617.90
8.4.130.0130.00719.50
8.4.120.0060.00520.95
8.4.110.0020.00722.83
8.4.100.0100.00919.21
8.4.90.0070.00518.88
8.4.80.0130.00620.48
8.4.70.0120.00618.12
8.4.60.0040.00419.26
8.4.50.0120.00818.84
8.4.40.0130.00618.01
8.4.30.0100.01019.72
8.4.20.0070.00719.75
8.4.10.0090.00019.48
8.3.300.0110.00919.28
8.3.290.0090.01221.04
8.3.280.0120.00818.79
8.3.270.0120.00816.69
8.3.260.0060.00617.06
8.3.250.0050.00319.30
8.3.240.0100.01018.85
8.3.230.0130.00716.78
8.3.220.0040.00419.34
8.3.210.0080.00818.55
8.3.200.0110.00816.59
8.3.190.0090.01019.10
8.3.180.0120.00616.86
8.3.170.0060.00319.14
8.3.160.0000.00817.32
8.3.150.0090.00621.08
8.3.140.0130.00716.75
8.3.130.0040.00718.56
8.3.120.0060.01320.82
8.3.110.0070.00317.00
8.3.100.0060.00316.89
8.3.90.0050.00318.70
8.3.80.0060.00318.68
8.3.70.0070.01118.55
8.3.60.0040.01118.55
8.3.50.0090.00518.09
8.3.40.0150.00318.90
8.3.30.0000.01518.82
8.3.20.0040.00419.18
8.3.10.0030.00621.91
8.3.00.0000.00823.80
8.2.300.0100.01320.42
8.2.290.0130.00620.92
8.2.280.0130.00518.76
8.2.270.0060.01219.45
8.2.260.0060.00916.93
8.2.250.0090.00919.31
8.2.240.0040.01517.35
8.2.230.0060.00320.94
8.2.220.0040.00424.06
8.2.210.0090.00926.77
8.2.200.0030.00618.66
8.2.190.0170.00317.00
8.2.180.0160.00318.41
8.2.170.0100.01022.96
8.2.160.0150.00019.21
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0040.00420.82
8.2.120.0040.00426.35
8.2.110.0060.00322.37
8.2.100.0070.00417.97
8.2.90.0000.00819.50
8.2.80.0030.00617.97
8.2.70.0030.00517.75
8.2.60.0050.00317.75
8.2.50.0000.00818.10
8.2.40.0000.00819.65
8.2.30.0000.00722.66
8.2.20.0000.00718.27
8.2.10.0040.00418.37
8.2.00.0000.00719.75
8.1.340.0140.00717.82
8.1.330.0040.00522.39
8.1.320.0120.00716.50
8.1.310.0030.00517.01
8.1.300.0060.00316.61
8.1.290.0060.00318.88
8.1.280.0040.01425.92
8.1.270.0000.00823.94
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0090.00022.39
8.1.230.0000.01118.21
8.1.220.0090.00018.04
8.1.210.0030.00518.77
8.1.200.0070.00317.73
8.1.190.0040.00417.73
8.1.180.0040.00418.10
8.1.170.0090.00019.12
8.1.160.0030.00619.19
8.1.150.0000.00819.11
8.1.140.0000.00719.20
8.1.130.0030.00319.27
8.1.120.0070.00017.76
8.1.110.0030.00617.73
8.1.100.0070.00417.66
8.1.90.0030.00717.65
8.1.80.0040.00417.71
8.1.70.0000.01017.78
8.1.60.0060.00317.87
8.1.50.0000.00917.74
8.1.40.0050.00317.71
8.1.30.0040.00817.95
8.1.20.0000.00817.74
8.1.10.0000.00817.73
8.1.00.0080.00017.75
8.0.300.0030.00618.77
8.0.290.0060.00317.00
8.0.280.0030.00518.58
8.0.270.0000.00716.99
8.0.260.0000.00617.42
8.0.250.0030.00317.19
8.0.240.0060.00317.13
8.0.230.0000.00717.27
8.0.220.0030.00517.16
8.0.210.0070.00017.11
8.0.200.0000.00717.13
8.0.190.0070.00417.12
8.0.180.0040.00417.07
8.0.170.0030.00617.14
8.0.160.0050.00217.20
8.0.150.0040.00417.05
8.0.140.0050.00317.11
8.0.130.0000.00713.54
8.0.120.0030.00517.08
8.0.110.0000.00717.15
8.0.100.0070.00017.01
8.0.90.0050.00217.18
8.0.80.0140.00517.09
8.0.70.0050.00316.84
8.0.60.0040.00417.23
8.0.50.0000.00716.95
8.0.30.0080.00917.29
8.0.20.0130.00617.46
8.0.10.0040.00417.29
8.0.00.0110.00816.92
7.4.330.0000.00515.55
7.4.320.0040.00416.72
7.4.300.0030.00316.75
7.4.290.0030.00316.75
7.4.280.0000.00816.81
7.4.270.0070.00016.80
7.4.260.0000.00716.71
7.4.250.0040.00416.87
7.4.240.0050.00316.93
7.4.230.0000.00716.83
7.4.220.0040.00416.82
7.4.210.0070.01216.81
7.4.200.0050.00216.63
7.4.160.0110.00616.65
7.4.140.0090.01117.86
7.4.130.0120.00616.76
7.4.120.0080.01016.74
7.4.110.0090.00916.66
7.4.100.0030.01416.73
7.4.90.0040.01716.52
7.4.80.0120.00619.39
7.4.70.0100.00716.71
7.4.60.0060.01216.73
7.4.50.0030.00916.46
7.4.40.0120.00616.61
7.4.00.0050.01015.06
7.3.330.0000.00513.27
7.3.320.0000.00513.25
7.3.310.0000.00816.32
7.3.300.0050.00216.49
7.3.290.0000.00716.37
7.3.280.0050.01116.50
7.3.260.0100.00716.65
7.3.240.0110.00916.51
7.3.230.0090.00916.44
7.3.210.0100.00716.55
7.3.200.0080.00816.73
7.3.190.0130.00316.77
7.3.180.0150.00716.56
7.3.170.0060.01116.48
7.3.160.0140.00416.66
7.3.120.0120.00614.89
7.3.110.0060.00914.80
7.3.100.0110.00415.02
7.3.90.0110.00415.09
7.3.80.0060.00914.89
7.3.70.0060.00915.01
7.3.60.0030.01015.00
7.3.50.0060.00914.82
7.3.40.0110.00414.90
7.3.30.0060.00914.82
7.3.20.0030.00916.64
7.3.10.0030.01516.96
7.3.00.0030.01016.64
7.2.330.0150.01216.87
7.2.320.0060.01016.70
7.2.310.0110.00616.93
7.2.300.0070.01016.79
7.2.290.0070.01416.87
7.2.250.0070.01015.41
7.2.240.0090.00915.36
7.2.230.0070.00715.01
7.2.220.0080.00815.07
7.2.210.0000.01415.10
7.2.200.0000.01515.21
7.2.190.0060.01014.96
7.2.180.0000.01715.11
7.2.170.0030.00615.17
7.2.80.0250.00414.80
7.2.70.0460.00715.07
7.2.60.1140.01014.82
7.2.50.1070.01315.10
7.2.40.1090.00715.09
7.2.30.0980.01015.26
7.2.20.0030.01815.18
7.2.10.0500.01015.21
7.2.00.1500.00315.04
7.1.330.0070.00716.00
7.1.320.0040.01115.63
7.1.310.0120.00616.02
7.1.300.0070.01115.67
7.1.290.0070.01315.87
7.1.280.0030.00715.93
7.1.270.0120.00315.64
7.1.260.0090.00015.88
7.1.200.0090.00015.81
7.1.190.1520.01313.92
7.1.180.0220.00913.64
7.1.170.1370.00313.89
7.1.160.0120.01513.99
7.1.150.1130.00313.83
7.1.140.0480.01013.93
7.1.130.1150.00713.90
7.1.120.1520.00613.91
7.1.110.0220.00413.95
7.1.100.1700.01013.86
7.1.90.2030.00013.77
7.1.80.2280.00013.80
7.1.70.2600.00013.54
7.1.60.3090.02031.62
7.1.50.4300.01631.80
7.1.40.4760.01331.98
7.1.30.5330.00631.88
7.1.20.3820.01331.71
7.1.10.3480.01013.82
7.1.00.2250.01013.89

preferences:
108.61 ms | 1589 KiB | 5 Q