3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * @package Joomla.Administrator * @subpackage Templates.protostar * * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $app = JFactory::getApplication(); $doc = JFactory::getDocument(); $this->language = $doc->language; $this->direction = $doc->direction; // Detecting Active Variables $option = $app->input->getCmd('option', ''); $view = $app->input->getCmd('view', ''); $layout = $app->input->getCmd('layout', ''); $task = $app->input->getCmd('task', ''); $itemid = $app->input->getCmd('Itemid', ''); $sitename = $app->getCfg('sitename'); if($task == "edit" || $layout == "form" ) { $fullWidth = 1; } else { $fullWidth = 0; } // Add JavaScript Frameworks JHtml::_('bootstrap.framework'); // Add Stylesheets $doc->addStyleSheet('templates/'.$this->template.'/css/template.css'); $doc->addStyleSheet('templates/'.$this->template.'/css/woi.css'); // Load optional rtl Bootstrap css and Bootstrap bugfixes JHtmlBootstrap::loadCss($includeMaincss = false, $this->direction); // Add current user information $user = JFactory::getUser(); // Adjusting content width if ($this->countModules('position-7') && $this->countModules('position-8')) { $span = "span6"; } elseif ($this->countModules('position-7') && !$this->countModules('position-8')) { $span = "span9"; } elseif (!$this->countModules('position-7') && $this->countModules('position-8')) { $span = "span9"; } else { $span = "span12"; } // Logo file or site title param if ($this->params->get('logoFile')) { $logo = '<img src="'. JURI::root() . $this->params->get('logoFile') .'" alt="'. $sitename .'" />'; } elseif ($this->params->get('sitetitle')) { $logo = '<span class="site-title" title="'. $sitename .'"></span>'; } else { $logo = '<span class="site-title" title="'. $sitename .'"></span>'; } ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <jdoc:include type="head" /> <!--[if lt IE 9]> <script src="<?php echo $this->baseurl ?>/media/jui/js/html5.js"></script> <![endif]--> </head> <body class="woi <?php echo $parent->alias . " view-" . $view . " layout-" . $layout . " task-" . $task . " itemid-" . $itemid . " ";?> <?php if ($this->params->get('fluidContainer')) { echo "fluid"; } ?>"> <div id="pattern"> <!-- Body --> <div class="body" > <div id="sredina" class=""> <div id="levo"> <div id="video"> <div id="logo"> <img src="/templates/woibuyandsell/images/logo_welcome.png"> <a target="blank" href="http://www.woisite.com" alt="Wheels Of Italy"> </a> </div> </div> <div id="triboxa"> <div id="sponsors"> <div class="sponsortext"><img src="/templates/woibuyandsell/images/1.png"></div> <div class="mb fadein box"> <a href="http://www.wixonjewelers.com/index.php" target="blank"><img src="http://www.woisite.com/images/sponsors/1-1.jpg" alt="Wixon Jewelers WOI Sponsor" /></a> <a href="http://www.wixonjewelers.com/index.php" target="blank"><img src="http://www.woisite.com/images/sponsors/1-2.jpg" alt="Wixon Jewelers WOI Sponsor" /></a> </div> <div class="sponsortext"><img style="margin-top:15px; margin-left:15px" src="/templates/woibuyandsell/images/2.png"></div> <div class="mb fadein2 box"> <a href="http://searsimportsbodyshop.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/2-1.jpg" alt="Sears Imports Body Shop WOI Sponsor" /></a> <a href="http://www.twincitiesluxuryauto.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/2-2.jpg" alt="Twin Cities Luxury Auto WOI Sponsor" /></a> <a href="http://www.fiatminneapolis.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/2-4.jpg" alt="Fiat of Minneapolis WOI Sponsor" /></a> </div> <div class="sponsortext"><img style="margin-left:15px" src="/templates/woibuyandsell/images/3.png"></div> <div class="mb fadein3 box"> <a href="http://www.gpbicycles.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/3-1.jpg" alt="Grand Performance Bicycles WOI Sponsor" /></a> <a href="http://www.motoprimo.net/index.htm" target="blank"><img src="http://www.woisite.com/images/sponsors/3-3.jpg" alt="MotoPrimo WOI Sponsor" /></a> <a href="http://www.brcrentals.com/" target="blank"><img src="http://www.woisite.com/images/sponsors/3-4.jpg" alt="BRC Rentals WOI Sponsor" /></a> </div> </div> </div> </div> </div> <div id="navigacija" class=""> <jdoc:include type="modules" name="position-1" style="none" /> </div> </div> <!-- Footer --> <a href="http://www.skysa.com/page/features/live-support-chat" id="SKYSA-NoScript">Live Support</a><script type="text/javascript" src="//static2.skysa.com?i=9C10CBA7-4DC9-4FC9-99F6-A21DF2634F8E" async="true"></script> <script type="text/javascript"> var j = jQuery.noConflict(); j(function(){ j('.fadein a:gt(0)').hide(); setInterval(function(){ j('.fadein a:first-child').fadeOut().next('a').fadeIn().end().appendTo('.fadein');}, 3000); }); j(function(){ j('.fadein2 a:gt(0)').hide(); setInterval(function(){ j('.fadein2 a:first-child').fadeOut().next('a').fadeIn().end().appendTo('.fadein2');}, 4500); }); j(function(){ j('.fadein3 a:gt(0)').hide(); setInterval(function(){ j('.fadein3 a:first-child').fadeOut().next('a').fadeIn().end().appendTo('.fadein3');}, 5000); }); </script> <jdoc:include type=modules name=floatercontainer style=xhtml /> <jdoc:include type="modules" name="debug" style="none" /> </div> </body> </html>

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.00716.75
8.3.50.0100.00816.58
8.3.40.0120.00318.75
8.3.30.0110.00418.80
8.3.20.0040.00418.77
8.3.10.0000.00920.22
8.3.00.0000.00819.25
8.2.180.0110.00716.50
8.2.170.0110.00422.96
8.2.160.0100.00720.41
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0070.00320.95
8.2.110.0100.00020.93
8.2.100.0070.00418.03
8.2.90.0070.00319.47
8.2.80.0000.00719.58
8.2.70.0040.00417.88
8.2.60.0060.00317.93
8.2.50.0030.00618.07
8.2.40.0080.00018.46
8.2.30.0070.00018.13
8.2.20.0000.00919.56
8.2.10.0050.00217.90
8.2.00.0000.00717.71
8.1.280.0090.00625.92
8.1.270.0050.00324.66
8.1.260.0050.00326.35
8.1.250.0030.00528.09
8.1.240.0030.00622.46
8.1.230.0090.00321.01
8.1.220.0090.00017.79
8.1.210.0030.00619.15
8.1.200.0000.00917.48
8.1.190.0060.00317.66
8.1.180.0080.00018.10
8.1.170.0080.00818.57
8.1.160.0000.00718.96
8.1.150.0040.00418.55
8.1.140.0040.00417.45
8.1.130.0000.00817.85
8.1.120.0040.00417.50
8.1.110.0040.00417.47
8.1.100.0030.00517.54
8.1.90.0000.00817.41
8.1.80.0040.00417.52
8.1.70.0000.00617.38
8.1.60.0050.00317.65
8.1.50.0000.00917.39
8.1.40.0000.00817.55
8.1.30.0050.00317.63
8.1.20.0040.00417.58
8.1.10.0000.00817.40
8.1.00.0090.00017.40
8.0.300.0000.00720.02
8.0.290.0070.00016.88
8.0.280.0040.00418.49
8.0.270.0070.00017.29
8.0.260.0000.00716.91
8.0.250.0000.00716.95
8.0.240.0070.00017.05
8.0.230.0040.00417.06
8.0.220.0000.00716.92
8.0.210.0000.00816.88
8.0.200.0050.00217.03
8.0.190.0050.00317.05
8.0.180.0070.00016.97
8.0.170.0030.00616.96
8.0.160.0040.00417.04
8.0.150.0030.00616.95
8.0.140.0080.00017.00
8.0.130.0030.00313.42
8.0.120.0080.00016.97
8.0.110.0000.00717.10
8.0.100.0000.00817.00
8.0.90.0000.00716.97
8.0.80.0100.01017.01
8.0.70.0000.00716.87
8.0.60.0070.00016.96
8.0.50.0070.00017.00
8.0.30.0100.00717.07
8.0.20.0100.00917.09
8.0.10.0040.00417.10
8.0.00.0100.01016.82
7.4.330.0050.00013.08
7.4.320.0030.00316.63
7.4.300.0030.00316.52
7.4.290.0040.00416.51
7.4.280.0030.00516.52
7.4.270.0030.00316.46
7.4.260.0060.00013.30
7.4.250.0040.00416.64
7.4.240.0040.00416.44
7.4.230.0030.00316.62
7.4.220.0080.01216.52
7.4.210.0080.00816.58
7.4.200.0070.00016.57
7.4.190.0080.00016.48
7.4.160.0090.00916.46
7.4.150.0130.00416.52
7.4.140.0140.00616.38
7.4.130.0100.00816.56
7.4.120.0060.01116.48
7.4.110.0100.01316.51
7.4.100.0070.01016.54
7.4.90.0090.00916.41
7.4.80.0030.01419.39
7.4.70.0150.00416.63
7.4.60.0320.01816.61
7.4.50.0060.00616.49
7.4.40.0040.01516.58
7.4.30.0130.01016.59
7.4.00.0070.00714.68
7.3.330.0070.00013.19
7.3.320.0030.00313.03
7.3.310.0030.00316.22
7.3.300.0070.00016.23
7.3.290.0000.01516.27
7.3.280.0050.01216.27
7.3.270.0030.01316.29
7.3.260.0110.01116.65
7.3.250.0130.00716.42
7.3.240.0080.00816.27
7.3.230.0100.01016.59
7.3.210.0040.01416.32
7.3.200.0120.01116.32
7.3.190.0120.00916.60
7.3.180.0100.00616.25
7.3.170.0110.00716.54
7.3.160.0140.00316.29
7.3.120.0070.01014.78
7.3.10.0040.01216.35
7.3.00.0000.01316.67
7.2.330.0070.01116.72
7.2.320.0140.00316.69
7.2.310.0070.01016.71
7.2.300.0120.00916.59
7.2.290.0000.02016.54
7.2.130.0110.00417.04
7.2.120.0030.00716.72
7.2.110.0130.00317.07
7.2.100.0100.00616.68
7.2.90.0090.00016.61
7.2.80.0100.00716.49
7.2.70.0070.01016.61
7.2.60.0030.00616.76
7.2.50.0090.00616.81
7.2.40.0000.01216.64
7.2.30.0040.00716.98
7.2.20.0080.00816.79
7.2.10.0030.01016.95
7.2.00.0020.01018.08
7.1.250.0090.00615.63
7.1.100.0040.00817.79
7.1.70.0030.01017.15
7.1.60.0100.01619.40
7.1.50.0000.02216.91
7.1.00.0030.07722.40
7.0.200.0000.01016.61
7.0.140.0030.06721.93
7.0.120.0000.07721.96
7.0.60.0100.08319.91
7.0.50.0130.07317.90
7.0.40.0030.06017.79
7.0.30.0070.08017.79
7.0.20.0200.07017.75
7.0.10.0030.07317.66
7.0.00.0100.08317.64
5.6.280.0030.07320.84
5.6.210.0100.07020.53
5.6.200.0030.09018.14
5.6.190.0070.05718.15
5.6.180.0030.04318.25
5.6.170.0030.08318.22
5.6.160.0030.05718.16
5.6.150.0030.04318.15
5.6.140.0000.04318.23
5.6.130.0100.03718.25
5.6.120.0030.06718.21
5.6.110.0100.04018.24
5.6.100.0100.05318.24
5.6.90.0030.06018.23
5.6.80.0100.07017.63
5.6.70.0130.05717.60
5.6.60.0030.08017.49
5.6.50.0100.04317.54
5.6.40.0100.04017.57
5.6.30.0000.04017.58
5.6.20.0030.04017.52
5.6.10.0030.03717.57
5.6.00.0030.03717.56
5.5.350.0030.07720.55
5.5.340.0100.07717.88
5.5.330.0070.06017.91
5.5.320.0030.04018.05
5.5.310.0030.06318.00
5.5.300.0030.04017.96
5.5.290.0000.05017.95
5.5.280.0030.08317.95
5.5.270.0030.04018.03
5.5.260.0100.07018.00
5.5.250.0100.05017.81
5.5.240.0070.08317.41
5.5.230.0030.04717.35
5.5.220.0030.06317.32
5.5.210.0000.09017.40
5.5.200.0130.05717.39
5.5.190.0030.04717.39
5.5.180.0030.04317.30
5.5.160.0030.03717.29
5.5.150.0030.03717.30
5.5.140.0030.03717.39
5.5.130.0000.04017.37
5.5.120.0030.03717.34
5.5.110.0030.04317.25
5.5.100.0030.03717.28
5.5.90.0000.04017.20
5.5.80.0100.03017.21
5.5.70.0030.03717.19
5.5.60.0030.04017.18
5.5.50.0070.03317.27
5.5.40.0070.03317.27
5.5.30.0070.03317.21
5.5.20.0070.03317.29
5.5.10.0070.03717.23
5.5.00.0030.03717.27
5.4.450.0070.03719.54
5.4.440.0000.05719.44
5.4.430.0070.06319.35
5.4.420.0100.08019.35
5.4.410.0030.08019.08
5.4.400.0170.06318.99
5.4.390.0030.08318.90
5.4.380.0100.05018.89
5.4.370.0000.06019.14
5.4.360.0030.06018.97
5.4.350.0000.04318.98
5.4.340.0200.03019.12
5.4.320.0070.03318.98
5.4.310.0030.03719.07
5.4.300.0070.03319.03
5.4.290.0070.03318.99
5.4.280.0030.03718.98
5.4.270.0100.03018.98
5.4.260.0100.03019.02
5.4.250.0030.03718.88
5.4.240.0100.03019.11
5.4.230.0070.03718.98
5.4.220.0000.04018.82
5.4.210.0000.04018.95
5.4.200.0070.04019.03
5.4.190.0000.04019.02
5.4.180.0100.03018.94
5.4.170.0030.03718.97
5.4.160.0000.04018.96
5.4.150.0070.03318.80
5.4.140.0030.03316.36
5.4.130.0030.03316.20
5.4.120.0070.03316.35
5.4.110.0030.03316.26
5.4.100.0030.03316.44
5.4.90.0030.03316.28
5.4.80.0070.03716.29
5.4.70.0030.05016.29
5.4.60.0000.05016.30
5.4.50.0000.04016.25
5.4.40.0130.04016.31
5.4.30.0000.04016.35
5.4.20.0070.05016.25
5.4.10.0100.07016.50
5.4.00.0100.06015.76
5.3.290.0000.04314.67
5.3.280.0030.03714.48
5.3.270.0030.03714.62
5.3.260.0130.02714.45
5.3.250.0070.03314.60
5.3.240.0000.04014.45
5.3.230.0000.04314.56
5.3.220.0070.03014.56
5.3.210.0000.04014.55
5.3.200.0000.03714.51
5.3.190.0070.03714.37
5.3.180.0000.04014.41
5.3.170.0100.04714.51
5.3.160.0030.06714.67
5.3.150.0000.04314.41
5.3.140.0030.07014.53
5.3.130.0100.04714.39
5.3.120.0100.06014.40
5.3.110.0000.08014.35
5.3.100.0030.05013.89
5.3.90.0030.05713.86
5.3.80.0030.04713.98
5.3.70.0030.06313.89
5.3.60.0030.05313.99
5.3.50.0200.06313.93
5.3.40.0070.07013.73
5.3.30.0100.05713.71
5.3.20.0070.04313.64
5.3.10.0070.05713.66
5.3.00.0030.06713.60
5.2.170.0070.05711.10
5.2.160.0100.05311.11
5.2.150.0100.03310.96
5.2.140.0030.06711.07
5.2.130.0030.03711.09
5.2.120.0000.06310.91
5.2.110.0100.04011.12
5.2.100.0070.04711.12
5.2.90.0100.05010.96
5.2.80.0070.05011.10
5.2.70.0000.04310.95
5.2.60.0030.05011.05
5.2.50.0030.03011.04
5.2.40.0030.02710.99
5.2.30.0030.03310.84
5.2.20.0000.03310.95
5.2.10.0030.05710.84
5.2.00.0070.04710.73
5.1.60.0000.05010.10
5.1.50.0030.03010.03
5.1.40.0030.0409.95
5.1.30.0070.05310.20
5.1.20.0000.04710.35
5.1.10.0070.05010.07
5.1.00.0030.0609.93
5.0.50.0030.0438.49
5.0.40.0000.0478.49
5.0.30.0100.0478.24
5.0.20.0030.0438.23
5.0.10.0000.0208.19
5.0.00.0000.0607.99
4.4.90.0030.0177.71
4.4.80.0070.0177.71
4.4.70.0100.0207.71
4.4.60.0000.0307.71
4.4.50.0070.0277.71
4.4.40.0000.0437.71
4.4.30.0000.0377.71
4.4.20.0000.0407.71
4.4.10.0030.0307.71
4.4.00.0030.0507.71
4.3.110.0000.0277.71
4.3.100.0000.0207.71
4.3.90.0070.0107.71
4.3.80.0030.0407.71
4.3.70.0030.0337.71
4.3.60.0030.0337.71
4.3.50.0030.0377.71
4.3.40.0030.0507.71
4.3.30.0000.0307.71
4.3.20.0000.0307.71
4.3.10.0000.0407.71
4.3.00.0000.0307.71

preferences:
45.87 ms | 401 KiB | 5 Q