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> <span class="label label-danger">High</span></li> <li><strong>Severity:</strong> <span class="label label-info">Low</span></li> <li><strong>Versions:</strong> 2.5.0 - 3.9.13</li> <li><strong>Exploit type:</strong> SQL injection</li> <li><strong>Reported Date:</strong> 2019-December-01</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-19846">CVE-2019-19846</a></li> </ul> <h3>Description</h3> <p>The lack of validation of configuration parameters used in SQL queries caused various SQL injection vectors.</p> <h3>Affected Installs</h3> <p>Joomla! CMS versions 2.5.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>ka1n4t</div><div class="feedflare"> <a href="https://feeds.joomla.org/~ff/JoomlaSecurityNews?a=GIZJHbqr1wQ:mKZamezlv3g:yIl2AUoC8zA"></a> </div>'; $doc = new DOMDocument(); $doc->loadHTML($html); $xpath = new DOMXPath($doc); $feed_items = $xpath->query('//div[contains(@class, "feed-item-description")]'); var_dump($feed_items);

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.0000.01818.96
8.3.30.0040.01118.75
8.3.20.0030.00621.15
8.3.10.0040.00423.90
8.3.00.0060.00323.64
8.2.170.0140.00722.96
8.2.160.0060.00920.76
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0050.00320.04
8.2.110.0050.00521.44
8.2.100.0080.00318.16
8.2.90.0060.00319.66
8.2.80.0060.00319.42
8.2.70.0040.00417.75
8.2.60.0030.00619.85
8.2.50.0100.00018.00
8.2.40.0030.00617.75
8.2.30.0060.00318.49
8.2.20.0080.00018.41
8.2.10.0000.00719.50
8.2.00.0050.00319.55
8.1.270.0080.00022.52
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00422.72
8.1.230.0110.00021.46
8.1.220.0030.00518.16
8.1.210.0030.00619.34
8.1.200.0040.00417.60
8.1.190.0060.00317.60
8.1.180.0080.00318.10
8.1.170.0030.00718.91
8.1.160.0060.00319.16
8.1.150.0000.00819.41
8.1.140.0040.00421.05
8.1.130.0070.00022.29
8.1.120.0040.00417.65
8.1.110.0000.00717.71
8.1.100.0000.00717.64
8.1.90.0000.00717.63
8.1.80.0040.00417.78
8.1.70.0000.00717.79
8.1.60.0030.00617.89
8.1.50.0000.00817.88
8.1.40.0030.00617.74
8.1.30.0040.00417.84
8.1.20.0000.00917.93
8.1.10.0000.00917.73
8.1.00.0000.00817.82
8.0.300.0070.00020.32
8.0.290.0070.00017.13
8.0.280.0000.00718.62
8.0.270.0000.00718.31
8.0.260.0030.00320.30
8.0.250.0000.00717.10
8.0.240.0030.00317.13
8.0.230.0000.00717.30
8.0.220.0040.00417.20
8.0.210.0020.00517.16
8.0.200.0030.00317.20
8.0.190.0040.00417.27
8.0.180.0040.00417.11
8.0.170.0000.00817.21
8.0.160.0060.00317.18
8.0.150.0050.00317.07
8.0.140.0000.00717.17
8.0.130.0050.00013.64
8.0.120.0030.00617.18
8.0.110.0050.00317.09
8.0.100.0040.00417.32
8.0.90.0030.00617.13
8.0.80.0110.00917.15
8.0.70.0070.00017.19
8.0.60.0070.00017.05
8.0.50.0000.00817.12
8.0.30.0070.01017.25
8.0.20.0090.01117.32
8.0.10.0040.00417.14
8.0.00.0030.01417.05
7.4.330.0050.00017.21
7.4.320.0060.00016.82
7.4.300.0070.00016.79
7.4.290.0000.00816.75
7.4.280.0000.00816.86
7.4.270.0030.00316.84
7.4.260.0000.00513.50
7.4.250.0040.00416.75
7.4.240.0020.00616.89
7.4.230.0000.00716.77
7.4.220.0000.00716.75
7.4.210.0110.00716.83
7.4.200.0070.00016.70
7.4.130.0150.00416.85
7.4.120.0040.01516.95
7.4.110.0100.01016.61
7.4.100.0060.01216.72
7.4.90.0030.01616.70
7.4.80.0060.01119.39
7.4.70.0130.00316.75
7.4.60.0100.00716.69
7.4.50.0000.01516.83
7.4.40.0030.01316.59
7.4.10.0060.01316.63
7.4.00.0040.01116.57
7.3.330.0040.00416.40
7.3.320.0000.00613.18
7.3.310.0040.00416.43
7.3.300.0070.00016.46
7.3.290.0100.00716.43
7.3.280.0060.01616.47
7.3.260.0090.00916.55
7.3.240.0100.00716.57
7.3.230.0090.01516.81
7.3.210.0030.01516.67
7.3.200.0070.01016.93
7.3.190.0130.00616.46
7.3.180.0060.01216.55
7.3.170.0000.01616.46
7.3.160.0090.00916.93
7.3.130.0060.00916.54
7.3.120.0140.00716.41
7.3.110.0120.00316.25
7.3.100.0120.00316.39
7.3.90.0070.00716.54
7.3.80.0100.00316.53
7.3.70.0070.00716.34
7.3.60.0030.01016.57
7.3.50.0040.01116.43
7.3.40.0090.00616.42
7.3.30.0040.01116.40
7.3.20.0110.00616.42
7.3.10.0100.00616.52
7.3.00.0060.00916.44
7.2.330.0100.00716.79
7.2.320.0110.00616.77
7.2.310.0060.01216.90
7.2.300.0110.00716.96
7.2.290.0030.01516.90
7.2.260.0040.01116.49
7.2.250.0090.00616.66
7.2.240.0040.01116.68
7.2.230.0070.01116.85
7.2.220.0100.00716.66
7.2.210.0040.01116.98
7.2.200.0080.00816.61
7.2.190.0110.00316.65
7.2.180.0060.00916.58
7.2.170.0070.00716.61
7.2.160.0100.01016.57
7.2.150.0130.00316.95
7.2.140.0130.00316.75
7.2.130.0130.00316.77
7.2.120.0000.01516.89
7.2.110.0050.01016.81
7.2.100.0080.00816.55
7.2.90.0060.01016.57
7.2.80.0040.01216.68
7.2.70.0110.00616.57
7.2.60.0060.00916.90
7.2.50.0080.00716.67
7.2.40.0060.00916.80
7.2.30.0080.00816.70
7.2.20.0120.00316.74
7.2.10.0070.01116.70
7.2.00.0110.00916.61

preferences:
56.05 ms | 400 KiB | 5 Q