3v4l.org

run code in 300+ PHP versions simultaneously
<?php libxml_use_internal_errors(true); $html = file_get_contents("http://www.sportsevents365.com/event/?q=eq,224264"); $doc = new \DOMDocument(); if($doc->loadHTML($html)) { $xpath = new \DOMXPath($doc); echo $xpath->evaluate("string(//span[./preceding-sibling::span[@itemprop='currency']])"); }

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.01418.68
8.3.50.0070.00716.71
8.3.40.0110.00419.22
8.3.30.0110.00719.04
8.3.20.0000.00720.77
8.3.10.0040.00423.99
8.3.00.0060.00322.64
8.2.180.0130.01016.50
8.2.170.0040.01122.96
8.2.160.0200.00020.64
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0110.00017.75
8.2.110.0030.00620.54
8.2.100.0090.00317.88
8.2.90.0050.00319.48
8.2.80.0090.00017.97
8.2.70.0080.00017.61
8.2.60.0080.00018.05
8.2.50.0030.00618.07
8.2.40.0040.00421.27
8.2.30.0040.00420.05
8.2.20.0080.00017.80
8.2.10.0000.00818.22
8.2.00.0000.00718.36
8.1.270.0080.00020.49
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00424.08
8.1.230.0090.00317.48
8.1.220.0000.00817.79
8.1.210.0030.00518.77
8.1.200.0030.00717.60
8.1.190.0080.00017.35
8.1.180.0040.00418.10
8.1.170.0040.00418.75
8.1.160.0060.00323.86
8.1.150.0070.00018.98
8.1.140.0040.00417.61
8.1.130.0030.00617.73
8.1.120.0000.00717.55
8.1.110.0040.00417.67
8.1.100.0000.00717.59
8.1.90.0050.00317.46
8.1.80.0000.00717.57
8.1.70.0000.00717.64
8.1.60.0040.00417.68
8.1.50.0080.00017.70
8.1.40.0060.00317.77
8.1.30.0000.00817.81
8.1.20.0050.00317.90
8.1.10.0030.00617.76
8.1.00.0040.00417.63
8.0.300.0040.00418.77
8.0.290.0060.00317.00
8.0.280.0000.00718.65
8.0.270.0000.00817.59
8.0.260.0030.00317.48
8.0.250.0000.00817.23
8.0.240.0000.00717.16
8.0.230.0000.00717.21
8.0.220.0030.00317.13
8.0.210.0000.00717.12
8.0.200.0060.00017.24
8.0.190.0080.00017.22
8.0.180.0080.00017.21
8.0.170.0030.00517.24
8.0.160.0040.00417.15
8.0.150.0030.00517.04
8.0.140.0040.00417.02
8.0.130.0060.00013.74
8.0.120.0040.00417.27
8.0.110.0080.00017.18
8.0.100.0000.00817.15
8.0.90.0040.00417.03
8.0.80.0120.01217.10
8.0.70.0000.00817.21
8.0.60.0040.00417.14
8.0.50.0050.00317.09
8.0.30.0090.00917.35
8.0.20.0080.01517.58
8.0.10.0040.00417.20
8.0.00.0130.00617.04
7.4.330.0030.00315.41
7.4.320.0000.00616.59
7.4.300.0000.00616.62
7.4.290.0070.00416.50
7.4.280.0050.00316.55
7.4.270.0000.00716.64
7.4.260.0000.00716.58
7.4.250.0080.00016.68
7.4.240.0020.00516.72
7.4.230.0030.00316.64
7.4.220.0180.00916.80
7.4.210.0100.00616.74
7.4.200.0040.00416.59
7.4.160.0060.01016.82
7.4.150.0160.00317.40
7.4.140.0130.01017.86
7.4.130.0090.00916.74
7.4.120.0140.00916.71
7.4.110.0130.00616.69
7.4.100.0100.01316.62
7.4.90.0090.01016.86
7.4.80.0090.01419.39
7.4.70.0100.00816.87
7.4.60.0030.01416.60
7.4.50.0080.00016.52
7.4.40.0170.00016.78
7.4.30.0060.01516.79
7.4.00.0100.00715.01
7.3.330.0030.00313.36
7.3.320.0000.00613.37
7.3.310.0040.00416.48
7.3.300.0050.00316.39
7.3.290.0040.00416.52
7.3.280.0080.01216.55
7.3.270.0090.00917.40
7.3.260.0060.01216.70
7.3.250.0140.00516.51
7.3.240.0130.00616.41
7.3.230.0080.01116.68
7.3.210.0100.00716.42
7.3.200.0150.00319.39
7.3.190.0060.01216.70
7.3.180.0040.01316.59
7.3.170.0150.00816.54
7.3.160.0030.00616.55
7.3.10.0070.01016.39
7.3.00.0100.00716.44
7.2.330.0120.00616.55
7.2.320.0070.01116.60
7.2.310.0160.01016.66
7.2.300.0150.00916.74
7.2.290.0180.00016.68
7.2.130.0120.00416.79
7.2.120.0090.00416.87
7.2.110.0090.00716.80
7.2.100.0040.01016.90
7.2.90.0080.01016.83
7.2.80.0080.00916.90
7.2.70.0080.00916.88
7.2.60.0070.00816.95
7.2.50.0110.00916.78
7.2.40.0060.00916.63
7.2.30.0030.01316.92
7.2.20.0060.00816.94
7.2.10.0090.00916.86
7.2.00.0110.00617.70
7.1.250.0100.00615.84
7.1.200.0000.01215.89
7.1.100.0080.00318.47
7.1.70.0000.00817.43
7.1.60.0190.00620.03
7.1.50.0110.01417.17
7.1.00.0070.07322.63
7.0.200.0260.00315.07
7.0.60.0370.04320.32
7.0.50.0070.09018.12
7.0.40.0070.04320.62
7.0.30.0230.06720.50
7.0.20.0130.04720.54
7.0.10.0270.07020.44
7.0.00.0130.07320.48
5.6.280.0000.05321.41
5.6.210.0170.08020.91
5.6.200.0000.07018.66
5.6.190.0170.07721.10
5.6.180.0430.05021.09
5.6.170.0230.04720.83
5.6.160.0030.06320.80
5.6.150.0130.03318.49
5.6.140.0000.04318.56
5.6.130.0130.06318.51
5.6.120.0100.04021.21
5.6.110.0130.08721.28
5.6.100.0070.08721.24
5.6.90.0170.08021.32
5.6.80.0170.07020.66
5.5.350.0030.08020.79
5.5.340.0000.04318.34
5.5.330.0030.04720.77
5.5.320.0330.07020.73
5.5.310.0200.05320.61
5.5.300.0100.07718.32
5.5.290.0000.09018.25
5.5.280.0130.08021.25
5.5.270.0100.08021.28
5.5.260.0070.06021.28
5.5.250.0100.08020.79
5.5.240.0070.07320.47
5.4.450.0870.05319.81
5.4.440.0930.05019.55
5.4.430.0670.06019.57
5.4.420.0700.05319.86
5.4.410.0730.05019.47
5.4.400.0730.05019.31
5.4.390.0670.05719.54
5.4.380.0730.05019.30
5.4.370.0800.05319.38
5.4.360.0730.05719.20
5.4.350.0700.05019.30
5.4.340.0730.04719.31
5.4.320.0770.05319.37
5.4.310.0830.05019.30
5.4.300.0800.05019.44
5.4.290.0970.05019.30
5.4.280.0830.05719.52
5.4.270.0700.05319.18
5.4.260.0900.05319.30
5.4.250.0870.05319.25
5.4.240.0870.05019.44
5.4.230.0900.06019.21
5.4.220.0800.04719.50
5.4.210.1070.04319.31
5.4.200.0630.06017.05
5.4.190.0900.07019.38
5.4.180.0830.05719.16
5.4.170.0900.05719.22
5.4.160.0770.05019.34
5.4.150.0930.06019.18
5.4.140.1130.04716.75
5.4.130.0670.04716.87
5.4.120.0800.04716.73
5.4.110.0730.05016.78
5.4.100.0800.05016.63
5.4.90.0770.04716.72
5.4.80.0600.05316.57
5.4.70.0730.04316.73
5.4.60.0270.04017.12
5.4.50.0030.06316.93
5.4.40.0200.03717.20
5.4.30.0130.04317.10
5.4.20.0270.04316.93

preferences:
56.53 ms | 400 KiB | 5 Q