3v4l.org

run code in 300+ PHP versions simultaneously
<?php // from your file $xml = ' <div class="DetailsPanel"> <label class="ListLabel left">Location</label> <span id="location" class="ListDetail left" title="London, UK">London, UK</span> <label class="ListLabel left">Price</label> <span id="price" class="ListDetail left" title="£5000">£5000</span> <label class="ListLabel left">Sector</label> <span class="ListDetail left"> <a href="/">IT</a> <a href="/">ICT</a> </span> </div> '; $xmldoc = new DOMDocument(); //$xmldoc->load('yourFile.html'); $xmldoc->loadXML($xml); $xpath = new Domxpath($xmldoc); $query = "//div[@class='DetailsPanel']"; foreach($xpath->query($query) as $node){ $string = $node->nodeValue; echo $string . '|'; } ?>

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.40.0070.01119.22
8.3.30.0100.00319.30
8.3.20.0080.00020.66
8.3.10.0080.00022.52
8.3.00.0050.00322.89
8.2.170.0090.01322.96
8.2.160.0120.00319.54
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0070.01126.16
8.2.120.0040.00419.73
8.2.110.0030.00620.54
8.2.100.0060.00618.09
8.2.90.0080.00019.55
8.2.80.0040.00418.30
8.2.70.0060.00317.75
8.2.60.0060.00318.41
8.2.50.0080.00018.07
8.2.40.0000.00918.59
8.2.30.0040.00418.37
8.2.20.0000.00817.93
8.2.10.0000.00718.11
8.2.00.0030.00618.10
8.1.270.0040.00422.68
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00922.50
8.1.230.0040.00721.35
8.1.220.0030.00617.91
8.1.210.0000.00818.77
8.1.200.0070.00317.72
8.1.190.0000.00817.64
8.1.180.0080.00018.97
8.1.170.0080.00018.75
8.1.160.0040.00422.36
8.1.150.0000.00819.04
8.1.140.0000.00817.81
8.1.130.0050.00218.14
8.1.120.0040.00417.91
8.1.110.0000.00817.63
8.1.100.0050.00217.65
8.1.90.0030.00517.93
8.1.80.0040.00417.71
8.1.70.0030.00317.83
8.1.60.0040.00417.96
8.1.50.0040.00417.99
8.1.40.0000.00817.93
8.1.30.0030.00517.97
8.1.20.0080.00017.83
8.1.10.0000.00817.78
8.1.00.0020.00517.75
8.0.300.0050.00218.77
8.0.290.0050.00217.43
8.0.280.0030.00318.84
8.0.270.0000.00717.55
8.0.260.0000.00717.23
8.0.250.0030.00317.11
8.0.240.0070.00017.36
8.0.230.0050.00517.31
8.0.220.0070.00017.17
8.0.210.0040.00417.30
8.0.200.0060.00017.34
8.0.190.0060.00317.38
8.0.180.0080.00017.20
8.0.170.0040.00417.20
8.0.160.0050.00317.23
8.0.150.0040.00417.23
8.0.140.0070.00017.04
8.0.130.0000.00713.63
8.0.120.0030.00617.27
8.0.110.0050.00216.99
8.0.100.0040.00417.23
8.0.90.0000.00717.31
8.0.80.0120.00617.22
8.0.70.0070.00017.12
8.0.60.0040.00417.13
8.0.50.0000.00717.19
8.0.30.0050.01817.42
8.0.20.0070.01417.42
8.0.10.0040.00417.42
8.0.00.0060.01517.09
7.4.330.0060.00015.00
7.4.320.0000.00616.94
7.4.300.0060.00016.68
7.4.290.0000.00717.00
7.4.280.0000.00816.89
7.4.270.0000.00716.69
7.4.260.0000.00716.89
7.4.250.0000.00816.98
7.4.240.0020.00616.95
7.4.230.0030.00316.88
7.4.220.0070.01016.86
7.4.210.0060.00816.85
7.4.200.0000.00716.81
7.4.190.0000.00716.82
7.4.160.0160.00016.88
7.4.150.0140.00417.40
7.4.140.0110.00817.86
7.4.130.0120.00516.79
7.4.120.0110.00916.87
7.4.110.0140.00916.86
7.4.100.0070.01016.85
7.4.90.0150.00316.84
7.4.80.0090.00919.39
7.4.70.0140.00616.84
7.4.60.0110.00716.95
7.4.50.0030.00616.64
7.4.40.0040.00822.77
7.4.30.0070.01616.86
7.4.00.0100.00615.09
7.3.330.0030.00313.53
7.3.320.0000.00613.21
7.3.310.0000.00716.55
7.3.300.0040.00416.57
7.3.290.0040.01116.59
7.3.280.0080.00816.61
7.3.270.0070.01017.40
7.3.260.0080.00816.84
7.3.250.0120.00516.70
7.3.240.0000.02016.78
7.3.230.0160.00016.72
7.3.210.0100.00616.58
7.3.200.0060.01619.39
7.3.190.0060.01216.75
7.3.180.0100.00716.99
7.3.170.0140.00616.74
7.3.160.0060.00916.80
7.3.120.0080.00815.12
7.2.330.0060.01217.00
7.2.320.0030.01417.19
7.2.310.0140.00417.04
7.2.300.0100.00617.10
7.2.290.0100.00617.09
7.1.70.0100.00717.13
7.1.60.0060.00917.08
7.1.50.0130.01017.23
7.1.40.0060.01616.70
7.1.30.0070.01116.75
7.1.20.0110.00516.88
7.1.10.0100.00616.82
7.1.00.0040.00716.80
7.0.200.0050.00516.77
7.0.190.0140.00416.67
7.0.180.0040.00816.48
7.0.170.0070.00716.38
7.0.160.0140.00616.48
7.0.150.0060.01416.50
7.0.140.0100.01216.61
7.0.130.0070.00516.85
7.0.120.0090.00316.72
7.0.110.0050.00816.55
7.0.100.0100.00416.55
7.0.90.0030.00716.63
7.0.80.0000.01516.52
7.0.70.0030.00716.63
7.0.60.0000.01016.54
7.0.50.0050.01116.57
7.0.40.0050.01516.06
7.0.30.0070.00516.06
7.0.20.0030.00816.06
7.0.10.0000.01216.06
7.0.00.0030.00616.06
5.6.300.0030.04920.93
5.6.290.0130.04820.92
5.6.280.0070.04720.89
5.6.270.0090.04421.01
5.6.260.0070.05521.12
5.6.250.0040.04820.90
5.6.240.0060.07721.01
5.6.230.0070.04321.01
5.6.220.0070.04121.01
5.6.210.0070.06921.13
5.6.200.0100.03720.97
5.6.190.0100.08321.15
5.6.180.0070.04321.09
5.6.170.0000.05020.98
5.6.160.0040.04321.09
5.6.150.0000.07021.11
5.6.140.0130.07121.01
5.6.130.0110.04020.98
5.6.120.0060.04721.11
5.6.110.0070.08520.84
5.6.100.0000.07021.09
5.6.90.0060.04521.07
5.6.80.0040.04220.53
5.6.70.0090.06320.48
5.6.60.0030.05720.47
5.6.50.0090.04220.37
5.6.40.0060.04520.25
5.6.30.0070.04820.50
5.6.20.0140.03820.48
5.6.10.0160.03220.45
5.6.00.0070.05220.28
5.5.380.0000.04317.84
5.5.370.0070.03817.58
5.5.360.0030.04417.63
5.5.350.0060.04717.68
5.5.340.0030.04818.23
5.5.330.0030.04618.17
5.5.320.0070.03818.09
5.5.310.0000.04618.09
5.5.300.0030.05117.95
5.5.290.0030.07218.20
5.5.280.0030.04418.27
5.5.270.0000.04618.07
5.5.260.0030.04818.18
5.5.250.0100.03617.79
5.5.240.0000.04217.61
5.5.230.0070.04117.56
5.5.220.0070.03417.62
5.5.210.0090.03317.62
5.5.200.0030.04717.52
5.5.190.0000.04517.53
5.5.180.0030.06517.27
5.5.160.0120.06217.47
5.5.150.0120.03017.57
5.5.140.0070.04017.53
5.5.130.0030.04217.25
5.5.120.0130.05617.54
5.5.110.0060.03717.33
5.5.100.0000.04417.20
5.5.90.0000.04117.42
5.5.80.0030.04117.33
5.5.70.0030.05017.19
5.5.60.0100.05617.41
5.5.50.0070.03717.15
5.5.40.0000.04117.46
5.5.30.0030.05217.18
5.5.20.0060.04117.36
5.5.10.0040.03917.47
5.5.00.0030.03817.18
5.4.450.0090.03819.37
5.4.440.0000.07019.61
5.4.430.0000.06819.55
5.4.420.0070.04019.58
5.4.410.0000.04819.34
5.4.400.0000.04219.30
5.4.390.0070.03919.23
5.4.380.0100.06018.98
5.4.370.0060.03618.98
5.4.360.0060.04219.35
5.4.350.0070.04419.21
5.4.340.0100.07019.09
5.4.320.0070.06819.18
5.4.310.0160.04519.20
5.4.300.0100.03519.29
5.4.290.0130.05519.20
5.4.280.0130.03519.14
5.4.270.0040.05419.14
5.4.260.0070.03719.23
5.4.250.0030.04819.22
5.4.240.0100.03319.22
5.4.230.0000.04319.25
5.4.220.0090.03619.20
5.4.210.0060.03418.97
5.4.200.0060.03519.25
5.4.190.0100.04019.26
5.4.180.0000.04419.14
5.4.170.0100.03218.96
5.4.160.0040.05619.18
5.4.150.0070.04719.21
5.4.140.0000.04116.93
5.4.130.0000.04016.71
5.4.120.0030.04116.61
5.4.110.0030.06116.76
5.4.100.0030.07416.78
5.4.90.0130.06716.78
5.4.80.0030.05716.55
5.4.70.0000.04516.92
5.4.60.0110.03916.87
5.4.50.0040.04216.81
5.4.40.0060.03816.53
5.4.30.0150.05116.82
5.4.20.0040.03916.65
5.4.10.0040.03616.59
5.4.00.0060.04416.36
5.3.290.0030.05916.06
5.3.280.0070.07216.06
5.3.270.0060.03816.06
5.3.260.0130.06916.06
5.3.250.0090.03516.06
5.3.240.0030.03616.06
5.3.230.0000.04316.06
5.3.220.0030.04716.06
5.3.210.0030.03716.06
5.3.200.0030.06116.06
5.3.190.0040.04616.06
5.3.180.0000.04016.06
5.3.170.0060.04516.06
5.3.160.0040.04016.06
5.3.150.0030.04416.06
5.3.140.0030.04116.06
5.3.130.0000.07616.06
5.3.120.0100.05516.06
5.3.110.0030.03816.06
5.3.100.0000.04516.06
5.3.90.0070.03716.06
5.3.80.0140.03016.06
5.3.70.0130.02916.06
5.3.60.0100.03716.06
5.3.50.0060.03716.06
5.3.40.0130.03216.06
5.3.30.0060.03416.06
5.3.20.0070.03316.06
5.3.10.0030.03816.06
5.3.00.0140.03116.06
5.2.170.0030.03016.06
5.2.160.0030.03416.06
5.2.150.0000.03516.06
5.2.140.0000.03316.06
5.2.130.0030.03116.06
5.2.120.0030.02916.06
5.2.110.0000.03316.06
5.2.100.0040.03916.06
5.2.90.0000.03716.06
5.2.80.0030.03016.06
5.2.70.0060.02816.06
5.2.60.0110.02516.06
5.2.50.0090.02516.06
5.2.40.0090.02216.06
5.2.30.0100.02916.06
5.2.20.0100.02616.06
5.2.10.0030.03516.06
5.2.00.0000.03116.06
5.1.60.0030.02416.06
5.1.50.0060.02216.06
5.1.40.0030.02516.06
5.1.30.0100.01916.06
5.1.20.0060.02516.06
5.1.10.0030.02716.06
5.1.00.0030.02416.06
5.0.50.0070.02316.06
5.0.40.0000.02316.06
5.0.30.0070.03516.06
5.0.20.0000.02116.06
5.0.10.0000.02716.06
5.0.00.0030.03116.06
4.4.90.0000.01816.06
4.4.80.0050.01316.06
4.4.70.0000.02116.06
4.4.60.0000.01616.06
4.4.50.0030.01316.06
4.4.40.0030.02816.06
4.4.30.0030.01416.06
4.4.20.0000.01616.06
4.4.10.0060.01016.06
4.4.00.0030.02916.06
4.3.110.0060.01216.06
4.3.100.0060.01116.06
4.3.90.0000.01616.06
4.3.80.0000.02816.06
4.3.70.0030.01616.06
4.3.60.0070.01316.06
4.3.50.0030.01316.06
4.3.40.0000.02516.06
4.3.30.0000.01816.06
4.3.20.0030.01316.06
4.3.10.0000.02016.06
4.3.00.0090.00916.06

preferences:
43.2 ms | 400 KiB | 5 Q