3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<ul> <li><strong>Project:</strong> Joomla!</li> <li><strong>SubProject:</strong> CMS</li> <li><strong>Impact:</strong> Low</li> <li><strong>Severity:</strong> <span class="label label-info">Low</span></li> <li><strong>Versions:</strong> 3.8.0 - 3.9.13</li> <li><strong>Exploit type:</strong> Path Disclosure</li> <li><strong>Reported Date:</strong> 2019-November-22</li> <li><strong>Fixed Date:</strong> 2019-December-17</li> <li><strong>CVE Number:</strong> <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19845">CVE-2019-19845</a></li> </ul> <h3>Description</h3> <p>Missing access check in framework files could lead to a path disclosure.</p> <h3>Affected Installs</h3> <p>Joomla! CMS versions 3.8.0 - 3.9.13</p> <h3>Solution</h3> <p>Upgrade to version 3.9.14</p> <h3>Contact</h3> <p>The JSST at the <a title="Contact the JSST" href="https://developer.joomla.org/security-centre.html">Joomla! Security Centre</a>.</p> <div class="alert alert-info"><strong>Reported By: </strong>Lee Thao, Viettel Cyber Security</div><div class="feedflare"> <a href="https://feeds.joomla.org/~ff/JoomlaSecurityNews?a=_fWsZ57Sw7g:uVTwWaDiNQ0:yIl2AUoC8zA"></a> </div>'; $doc = new DOMDocument(); $doc->loadHTML($html); $xpath = new DOMXPath($doc); $impact_node = $xpath->query('//li[contains(string(), "Impact:")]'); echo "Impact: " . str_replace('Impact: ', '', $impact_node->item(0)->textContent); echo "\n"; $severity_node = $xpath->query('//li[contains(string(), "Severity:")]/span[contains(@class, "label-info")]'); echo "Severity: " . $severity_node->item(0)->textContent . "\n";

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.0040.01218.52
8.3.50.0140.00716.55
8.3.40.0150.00318.93
8.3.30.0070.00718.92
8.3.20.0050.00320.98
8.3.10.0040.00422.09
8.3.00.0040.00423.96
8.2.180.0130.01018.79
8.2.170.0110.00622.96
8.2.160.0030.01020.89
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00726.16
8.2.110.0030.00619.58
8.2.100.0080.00418.16
8.2.90.0040.00418.13
8.2.80.0060.00319.03
8.2.70.0030.00618.29
8.2.60.0040.00418.41
8.2.50.0000.00818.10
8.2.40.0000.00819.71
8.2.30.0070.00019.55
8.2.20.0000.00718.29
8.2.10.0040.00419.70
8.2.00.0040.00419.82
8.1.280.0180.00425.92
8.1.270.0080.00022.48
8.1.260.0000.01126.35
8.1.250.0040.00428.09
8.1.240.0100.00024.21
8.1.230.0080.00421.54
8.1.220.0040.00419.13
8.1.210.0040.00418.77
8.1.200.0030.00717.60
8.1.190.0050.00317.59
8.1.180.0050.00319.26
8.1.170.0030.00619.00
8.1.160.0000.00719.37
8.1.150.0030.00619.34
8.1.140.0080.00021.13
8.1.130.0040.00422.33
8.1.120.0050.00217.86
8.1.110.0070.00017.87
8.1.100.0050.00217.87
8.1.90.0000.00717.76
8.1.80.0000.00817.85
8.1.70.0030.00317.74
8.1.60.0040.00418.00
8.1.50.0000.00917.76
8.1.40.0030.00617.94
8.1.30.0080.00018.05
8.1.20.0000.00818.07
8.1.10.0000.00817.82
8.1.00.0030.00617.71
8.0.300.0050.00318.77
8.0.290.0030.00517.25
8.0.280.0040.00418.90
8.0.270.0030.00317.19
8.0.260.0030.00320.38
8.0.250.0030.00317.36
8.0.240.0030.00317.21
8.0.230.0000.00717.20
8.0.220.0040.00417.14
8.0.210.0030.00317.19
8.0.200.0030.00317.32
8.0.190.0000.00717.26
8.0.180.0110.00017.31
8.0.170.0030.00617.23
8.0.160.0030.00517.33
8.0.150.0000.00917.21
8.0.140.0000.00717.18
8.0.130.0030.00313.71
8.0.120.0000.00717.09
8.0.110.0040.00417.16
8.0.100.0050.00217.09
8.0.90.0040.00417.23
8.0.80.0130.00617.13
8.0.70.0000.00817.09
8.0.60.0040.00416.99
8.0.50.0000.00717.08
8.0.30.0110.00617.41
8.0.20.0140.00517.33
8.0.10.0040.00417.30
8.0.00.0090.00917.09
7.4.330.0000.00617.04
7.4.320.0000.00616.86
7.4.300.0020.00516.85
7.4.290.0040.00416.91
7.4.280.0070.00316.87
7.4.270.0050.00216.96
7.4.260.0000.00613.69
7.4.250.0000.00716.95
7.4.240.0040.00416.97
7.4.230.0070.00016.73
7.4.220.0020.00516.89
7.4.210.0070.01316.99
7.4.200.0000.00816.69
7.4.130.0090.01516.98
7.4.120.0120.00916.68
7.4.110.0110.00716.93
7.4.100.0090.01216.88
7.4.90.0070.01016.79
7.4.80.0120.00619.39
7.4.70.0090.00616.89
7.4.60.0100.01316.81
7.4.50.0110.00716.75
7.4.40.0070.01017.03
7.4.10.0070.01016.78
7.4.00.0110.00916.83
7.3.330.0040.00416.52
7.3.320.0070.00013.38
7.3.310.0000.00716.62
7.3.300.0030.00316.57
7.3.290.0050.01116.59
7.3.280.0090.00616.55
7.3.260.0060.01116.82
7.3.230.0060.01216.96
7.3.210.0140.00316.84
7.3.200.0070.01016.56
7.3.190.0130.01016.55
7.3.180.0100.00716.87
7.3.170.0070.01116.59
7.3.160.0040.01816.60
7.3.130.0100.00916.49
7.3.120.0060.01416.47
7.3.110.0100.01216.58
7.3.100.0160.00616.61
7.3.90.0120.00416.83
7.3.80.0120.00416.54
7.3.70.0050.01016.55
7.3.60.0070.00816.58
7.3.50.0110.00416.56
7.3.40.0070.00916.52
7.3.30.0060.00916.68
7.3.20.0080.01016.68
7.3.10.0090.01016.62
7.3.00.0070.01016.72
7.2.330.0050.01317.08
7.2.320.0090.00916.68
7.2.310.0070.01617.12
7.2.300.0140.00417.04
7.2.290.0100.00917.05
7.2.260.0120.01116.86
7.2.250.0080.01016.94
7.2.240.0090.01416.95
7.2.230.0070.01216.96
7.2.220.0080.00716.86
7.2.210.0100.00616.69
7.2.200.0060.00916.95
7.2.190.0080.00716.87
7.2.180.0100.00816.89
7.2.170.0080.01116.91
7.2.160.0070.01116.92
7.2.150.0220.00516.99
7.2.140.0070.01016.89
7.2.130.0080.01017.03
7.2.120.0090.00916.95
7.2.110.0080.01117.08
7.2.100.0090.00816.97
7.2.90.0090.00916.89
7.2.80.0100.00816.83
7.2.70.0080.01017.07
7.2.60.0090.00816.93
7.2.50.0050.01416.96
7.2.40.0060.01116.95
7.2.30.0080.00917.04
7.2.20.0110.00716.97
7.2.10.0100.00716.99
7.2.00.0140.00316.92

preferences:
51.39 ms | 400 KiB | 5 Q