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']/label"; 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.60.0130.00718.67
8.3.50.0050.01521.33
8.3.40.0040.01118.92
8.3.30.0070.00719.42
8.3.20.0000.00820.41
8.3.10.0080.00022.21
8.3.00.0030.00522.69
8.2.180.0040.01816.75
8.2.170.0170.00322.96
8.2.160.0110.00419.45
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.02026.16
8.2.120.0000.00819.61
8.2.110.0030.00722.75
8.2.100.0060.00618.00
8.2.90.0060.00319.55
8.2.80.0000.00817.97
8.2.70.0000.00817.88
8.2.60.0030.00818.05
8.2.50.0030.00618.10
8.2.40.0000.00718.47
8.2.30.0030.00518.26
8.2.20.0000.00717.93
8.2.10.0060.00318.20
8.2.00.0050.00318.03
8.1.280.0070.01425.92
8.1.270.0050.00322.70
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00322.39
8.1.230.0100.00018.14
8.1.220.0060.00318.04
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0030.00617.61
8.1.180.0000.00818.10
8.1.170.0040.00418.96
8.1.160.0000.00822.38
8.1.150.0040.00419.05
8.1.140.0030.00617.86
8.1.130.0030.00318.09
8.1.120.0040.00417.63
8.1.110.0000.00717.89
8.1.100.0000.00817.69
8.1.90.0000.00817.70
8.1.80.0070.00017.59
8.1.70.0000.00717.80
8.1.60.0060.00317.85
8.1.50.0000.00817.77
8.1.40.0000.00817.75
8.1.30.0000.00818.05
8.1.20.0000.00817.88
8.1.10.0050.00317.88
8.1.00.0040.00417.93
8.0.300.0000.00718.77
8.0.290.0030.00517.13
8.0.280.0000.00718.63
8.0.270.0040.00417.68
8.0.260.0000.00717.16
8.0.250.0030.00317.38
8.0.240.0000.00817.38
8.0.230.0070.00017.14
8.0.220.0030.00317.12
8.0.210.0040.00417.08
8.0.200.0000.00617.19
8.0.190.0050.00317.34
8.0.180.0030.00317.33
8.0.170.0070.00017.29
8.0.160.0040.00417.24
8.0.150.0000.00817.05
8.0.140.0070.00017.30
8.0.130.0030.00313.54
8.0.120.0000.00917.36
8.0.110.0050.00217.31
8.0.100.0040.00417.27
8.0.90.0000.00717.38
8.0.80.0100.00717.23
8.0.70.0050.00217.19
8.0.60.0000.00717.13
8.0.50.0050.00317.16
8.0.30.0120.00717.59
8.0.20.0080.01117.40
8.0.10.0030.00517.26
8.0.00.0080.01417.20
7.4.330.0000.00515.00
7.4.320.0000.00717.00
7.4.300.0000.00816.76
7.4.290.0000.00716.78
7.4.280.0070.00316.98
7.4.270.0050.00217.00
7.4.260.0090.00016.80
7.4.250.0040.00416.79
7.4.240.0040.00416.88
7.4.230.0000.00716.90
7.4.220.0140.01116.96
7.4.210.0080.00716.92
7.4.200.0000.00716.88
7.4.190.0030.00516.89
7.4.160.0050.01116.77
7.4.150.0160.00617.40
7.4.140.0120.00917.86
7.4.130.0060.01316.94
7.4.120.0080.01016.83
7.4.110.0040.01416.82
7.4.100.0120.00616.77
7.4.90.0140.00416.87
7.4.80.0090.00919.39
7.4.70.0060.01216.68
7.4.60.0060.00916.82
7.4.50.0000.00916.67
7.4.40.0080.00822.77
7.4.30.0140.00316.73
7.4.10.0090.01215.12
7.4.00.0070.00715.01
7.3.330.0050.00013.27
7.3.320.0050.00013.45
7.3.310.0030.00316.60
7.3.300.0020.00516.59
7.3.290.0100.01116.61
7.3.280.0070.01216.70
7.3.270.0090.00817.40
7.3.260.0040.01516.85
7.3.250.0100.00816.73
7.3.240.0110.01216.54
7.3.230.0090.00616.86
7.3.210.0100.00716.76
7.3.200.0100.00719.39
7.3.190.0070.01116.74
7.3.180.0070.01116.78
7.3.170.0040.01216.80
7.3.160.0160.00616.70
7.3.130.0070.01014.81
7.3.120.0080.00815.07
7.3.110.0000.01814.89
7.3.100.0100.00614.67
7.3.90.0090.00614.92
7.3.80.0040.00815.18
7.3.70.0030.01014.76
7.3.60.0000.01314.78
7.3.50.0060.00914.86
7.3.40.0090.00614.93
7.3.30.0110.00314.85
7.3.20.0000.00916.94
7.3.10.0080.00716.47
7.3.00.0100.00916.44
7.2.330.0130.00616.78
7.2.320.0060.01117.13
7.2.310.0100.00717.01
7.2.300.0040.01216.98
7.2.290.0100.00716.79
7.2.260.0070.01015.11
7.2.250.0070.00715.43
7.2.240.0060.00615.10
7.2.230.0090.00615.34
7.2.220.0030.01215.53
7.2.210.0120.00315.44
7.2.200.0000.01315.38
7.2.190.0120.00415.20
7.2.180.0070.00315.12
7.2.170.0100.00715.13
7.2.160.0070.01015.21
7.2.150.0030.01017.21
7.2.140.0110.00017.10
7.2.130.0130.00516.85
7.2.120.0040.01116.88
7.2.110.0050.01116.70
7.2.100.0080.00516.87
7.2.90.0120.00416.97
7.2.80.0060.01416.99
7.2.70.0100.00617.00
7.2.60.0130.00017.00
7.2.50.0100.01016.84
7.2.40.0100.00816.85
7.2.30.0060.01316.83
7.2.20.0160.00416.77
7.2.10.0150.00416.98
7.2.00.0110.00617.73
7.1.330.0140.00015.95
7.1.320.0040.01115.98
7.1.310.0070.00315.91
7.1.300.0060.01015.93
7.1.290.0030.00716.06
7.1.280.0070.01015.99
7.1.270.0000.01015.98
7.1.260.0060.00915.85
7.1.250.0120.00515.73
7.1.240.0030.00715.89
7.1.230.0090.00415.82
7.1.220.0090.00315.84
7.1.210.0030.00615.94
7.1.200.0030.00615.85
7.1.190.0060.00915.93
7.1.180.0000.00915.88
7.1.170.0070.00716.00
7.1.160.0030.00616.09
7.1.150.0040.00416.06
7.1.140.0060.00315.88
7.1.130.0040.00816.10
7.1.120.0040.00715.85
7.1.110.0030.00616.00
7.1.100.0100.00517.18
7.1.90.0050.00315.85
7.1.80.0060.00315.96
7.1.70.0070.00316.49
7.1.60.0050.01417.91
7.1.50.0050.01616.52
7.1.40.0100.00316.02
7.1.30.0030.00615.87
7.1.20.0030.01415.93
7.1.10.0030.00915.62
7.1.00.0030.04319.33
7.0.330.0060.00315.40
7.0.320.0030.00915.49
7.0.310.0100.00315.43
7.0.300.0040.00715.31
7.0.290.0060.00315.64
7.0.280.0030.00915.60
7.0.270.0090.00415.65
7.0.260.0100.00315.55
7.0.250.0030.01315.65
7.0.240.0060.00615.68
7.0.230.0100.00315.50
7.0.220.0060.00915.44
7.0.210.0030.01315.61
7.0.200.0060.00716.19
7.0.190.0070.00715.58
7.0.180.0070.01015.59
7.0.170.0000.00915.76
7.0.160.0030.01015.55
7.0.150.0100.00315.75
7.0.140.0000.04418.87
7.0.130.0100.00315.69
7.0.120.0000.00915.55
7.0.110.0040.01115.72
7.0.100.0060.00815.50
7.0.90.0060.00315.64
7.0.80.0030.00915.69
7.0.70.0070.00315.50
7.0.60.0100.04517.84
7.0.50.0050.04616.70
7.0.40.0090.02917.05
7.0.30.0250.03716.93
7.0.20.0180.03816.89
7.0.10.0180.04016.95
7.0.00.0070.04617.09
5.6.400.0120.00414.73
5.6.390.0120.00314.63
5.6.380.0070.00714.57
5.6.370.0120.00613.98
5.6.360.0100.00014.81
5.6.350.0030.01014.48
5.6.340.0000.01114.55
5.6.330.0090.00614.53
5.6.320.0040.00814.09
5.6.310.0090.00914.50
5.6.300.0030.00914.53
5.6.290.0000.00914.63
5.6.280.0050.04017.80
5.6.270.0060.00614.53
5.6.260.0070.01014.80
5.6.250.0040.01214.37
5.6.240.0090.00414.46
5.6.230.0000.01314.36
5.6.220.0130.00314.50
5.6.210.0060.04317.65
5.6.200.0050.02316.33
5.6.190.0080.04617.65
5.6.180.2130.02717.71
5.6.170.0150.02817.48
5.6.160.0080.03817.57
5.6.150.0070.02116.50
5.6.140.0050.04016.32
5.6.130.0050.02516.41
5.6.120.0140.04017.90
5.6.110.0050.02517.87
5.6.100.0050.03317.79
5.6.90.0030.02517.70
5.6.80.0090.03417.45
5.6.70.0160.03417.47
5.6.60.0080.00814.35
5.6.50.0100.00614.55
5.6.40.0090.00314.56
5.6.30.0030.01314.19
5.6.20.0030.01314.40
5.6.10.0030.00714.27
5.6.00.0000.01314.47
5.5.380.0080.00414.07
5.5.370.0030.01014.53
5.5.360.0070.01014.12
5.5.350.0050.03817.36
5.5.340.0100.03916.33
5.5.330.0080.03017.49
5.5.320.0150.02017.36
5.5.310.0230.03017.34
5.5.300.0090.04216.32
5.5.290.0080.04116.09
5.5.280.0070.02217.63
5.5.270.0050.03117.41
5.5.260.0030.02517.77
5.5.250.0060.04417.51
5.5.240.0050.03017.31
5.5.230.0090.00614.38
5.5.220.0120.00313.90
5.5.210.0040.01114.18
5.5.200.0030.00714.34
5.5.190.0030.01314.34
5.5.180.0070.00714.36
5.5.170.0000.01414.26
5.5.160.0100.00714.02
5.5.150.0030.01314.35
5.5.140.0060.01014.36
5.5.130.0070.01014.39
5.5.120.0040.00814.27
5.5.110.0060.00914.28
5.5.100.0040.00814.29
5.5.90.0000.01414.04
5.5.80.0070.00714.31
5.5.70.0050.00713.96
5.5.60.0040.01114.18
5.5.50.0060.00914.27
5.5.40.0000.01714.11
5.5.30.0060.00614.13
5.5.20.0070.01014.11
5.5.10.0040.00814.36
5.5.00.0000.00914.29
5.4.450.0020.03815.44
5.4.440.0280.02515.20
5.4.430.0100.02915.11
5.4.420.0110.02815.28
5.4.410.0060.03115.24
5.4.400.0490.00314.83
5.4.390.0480.00414.88
5.4.380.0170.02814.89
5.4.370.0140.02814.88
5.4.360.0130.03214.82
5.4.350.0110.03214.90
5.4.340.0160.02714.77
5.4.330.0060.00610.95
5.4.320.0070.02311.85
5.4.310.0060.02511.87
5.4.300.0080.02011.70
5.4.290.0050.02211.86
5.4.280.0020.02311.81
5.4.270.0050.02311.69
5.4.260.0080.02814.97
5.4.250.0120.02414.90
5.4.240.0020.03014.94
5.4.230.0070.02715.08
5.4.220.0030.03414.89
5.4.210.0030.03114.92
5.4.200.0100.03115.13
5.4.190.0030.03214.89
5.4.180.0100.03014.83
5.4.170.0080.02614.92
5.4.160.0070.03215.11
5.4.150.0050.02914.98
5.4.140.0040.03113.81
5.4.130.0130.02113.66
5.4.120.0090.02413.59
5.4.110.0030.03113.76
5.4.100.0090.03314.03
5.4.90.0070.02513.74
5.4.80.0040.02713.86
5.4.70.0030.03013.93
5.4.60.0050.02813.91
5.4.50.0090.03013.80
5.4.40.0050.03014.00
5.4.30.0070.02713.90
5.4.20.0050.03013.89
5.4.10.0080.02713.70
5.4.00.0040.02913.34
5.3.290.0060.02511.84
5.3.280.0020.03112.60
5.3.270.0090.02712.60
5.3.260.0110.03912.56
5.3.250.0110.02512.73
5.3.240.0100.03112.58
5.3.230.0120.02412.73
5.3.220.0070.02712.48
5.3.210.0070.02812.57
5.3.200.0020.03412.46
5.3.190.0070.02712.61
5.3.180.0030.03212.66
5.3.170.0030.03012.75
5.3.160.0070.02812.63
5.3.150.0090.03012.68
5.3.140.0050.02912.60
5.3.130.0050.04512.67
5.3.120.0080.02812.51
5.3.110.0050.04012.56
5.3.100.0080.02512.45
5.3.90.0060.02812.39
5.3.80.0050.03312.24
5.3.70.0080.02312.24
5.3.60.0050.02812.37
5.3.50.0030.02912.08
5.3.40.0060.02612.20
5.3.30.0020.03012.29
5.3.20.0030.03112.13
5.3.10.0020.03311.96
5.3.00.0030.03011.92
5.2.170.0070.04011.24
5.2.160.0030.04011.24
5.2.150.0030.04011.20
5.2.140.0000.04311.36
5.2.130.0030.04311.27
5.2.120.0030.04311.17
5.2.110.0130.05011.32
5.2.100.0170.03711.07
5.2.90.0000.04311.36
5.2.80.0000.04711.06
5.2.70.0170.03311.23
5.2.60.0030.04011.13
5.2.50.0070.04011.21
5.2.40.0030.04011.11
5.2.30.0070.04711.27
5.2.20.0030.04011.04
5.2.10.0000.05311.16
5.2.00.0030.04310.69
5.1.60.0100.02710.11
5.1.50.0030.03310.38
5.1.40.0070.03310.07
5.1.30.0100.03310.47
5.1.20.0070.03310.32
5.1.10.0100.03310.41
5.1.00.0030.04710.21
5.0.50.0000.0308.78
5.0.40.0030.0378.66
5.0.30.0030.0438.60
5.0.20.0000.0408.40
5.0.10.0030.0278.29
5.0.00.0100.0408.31
4.4.90.0070.0176.88
4.4.80.0000.0236.88
4.4.70.0030.0206.88
4.4.60.0030.0206.88
4.4.50.0000.0336.88
4.4.40.0000.0376.88
4.4.30.0030.0206.88
4.4.20.0000.0276.88
4.4.10.0000.0236.88
4.4.00.0000.0376.88
4.3.110.0030.0206.88
4.3.100.0030.0206.88
4.3.90.0130.0106.88
4.3.80.0100.0336.88
4.3.70.0030.0176.88
4.3.60.0000.0206.88
4.3.50.0030.0306.88
4.3.40.0030.0336.88
4.3.30.0000.0236.88
4.3.20.0000.0236.88
4.3.10.0000.0236.88
4.3.00.0070.0239.21

preferences:
63.36 ms | 401 KiB | 5 Q