3v4l.org

run code in 200+ PHP versions simultaneously
<?php /** * TV Module Entry Point August 19, 2018 Ed $ * @package Joomla.site * @subpackage mod_tv * @copyright Copyright (c) 2019 CDXX All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access defined('_JEXEC') or die; // Include the syndicate functions only once require_once dirname(__FILE__) . '/helper.php'; $db = JFactory::getDbo(); $db->setQuery('SELECT title, introtext FROM #__content WHERE introtext LIKE "%Still Airing%"'); $rows = $db->loadAssocList(); $count = count($rows) / 2; $db = JFactory::getDbo(); $db->setQuery('SELECT title, introtext FROM #__content WHERE introtext LIKE "%Still Airing%" LIMIT ' . $count . ' ORDER BY title ASC'); $rowa = $db->loadAssocList(); $db = JFactory::getDbo(); $db->setQuery('SELECT title, introtext FROM #__content WHERE introtext LIKE "%Still Airing%" LIMIT ' . $count . ' OFFSET ' . $count . ' ORDER BY title ASC'); $rowb = $db->loadAssocList(); ?> <div style="margin:10px;"> <table style="width:100%;"> <tbody> <tr> <td style="font-weight:bold;width:50%;"> <?php foreach ($rowa as $item) { ?> <?php echo $item['title']; ?> <?php } ?> </td> <td style="font-weight:bold;width:50%;"> <?php foreach ($rowb as $item) { ?> <?php echo $item['title']; ?> <?php } ?> </td> </tr> </tbody> </table> </div>

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)
7.4.00.0030.01015.07
7.3.60.0030.00814.52
7.3.50.0060.00614.73
7.3.40.0070.01114.52
7.3.30.0040.00914.67
7.3.20.0110.00314.87
7.3.10.0100.01014.82
7.3.00.0070.00714.64
7.2.190.0070.00714.87
7.2.180.0100.01014.87
7.2.170.0120.00014.72
7.2.160.0120.00014.81
7.2.150.0030.01414.89
7.2.140.0120.00314.92
7.2.130.0480.00414.94
7.2.120.0050.00914.98
7.2.110.0110.00814.63
7.2.100.0230.00414.71
7.2.90.0080.00514.74
7.2.80.0120.00914.84
7.2.70.0040.01115.18
7.2.60.0090.00615.20
7.2.50.0240.00615.04
7.2.40.0160.00914.84
7.2.30.0090.00614.66
7.2.20.0250.00015.05
7.2.10.0040.01714.92
7.2.00.0070.01114.93
7.1.300.0130.00413.81
7.1.290.0160.00713.76
7.1.280.0100.00513.78
7.1.270.0200.00313.73
7.1.260.0170.00613.89
7.1.250.0060.00613.77