3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Custom classes and functions require_once($_SERVER['DOCUMENT_ROOT'].'/includes/core_v5.0.0.php'); $domain_info = new opencart_domain; $domain_array = $domain_info->detect(); $products_list_obj = new products; $products_list_for_contact_form = $products_list_obj->contact_form_list($domain_array['store_id']); // Extra SEO control require_once($_SERVER['DOCUMENT_ROOT'].'/includes/seo/flircameras.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>"> <head> <?php if(isset($this->request->get['product_id'])) { $canonical_obj = new product; $canonical_element = $canonical_obj->canonical_tag($this->request->get['product_id'],$domain_array,$redirect); echo $canonical_element; } ?> <title><?php echo $title; ?></title> <meta name="description" content="<?php echo $description; ?>" /> <? /*<meta name="keywords" content="<?php echo $keywords; ?>" /> */?> <meta http-equiv="X-UA-Compatible" content="IE=EDGE" /> <base href="<?php echo $base; ?>" /> <meta name="author" content="RHP International"> <meta name="revisit-after" content="1 days"> <meta name="robots" content="follow,index"> <meta name="google-site-verification" content="iSvtz6Nn8vJT1Vf6Mua9Kt0u857uLw2l0WVxH31gq3w" /> <link rel="shortcut icon" type="image/x-icon" href="/favicon_flc.ico"> <? // Primary CSS ?> <? // OpenCart CSS ?> <?php foreach ($styles as $style) { ?> <link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" /> <?php } ?> <link rel="stylesheet" type="text/css" href="foundation/flircameras/css/foundation.css" /> <link rel="stylesheet" type="text/css" href="fontawesome/font-awesome-4.0.3/css/font-awesome.css" /> <? // Additional CSS ?> <? // jQuery Base ?> <? // jQuery Form Ajax Submit & Validation ?> <?php /*?><script type="text/javascript" src="../../../catalog/view/javascript/jquery/snowfall.min.jquery.js"></script> <script type='text/javascript'> $(document).ready(function(){ $(document).snowfall({flakeCount : 200, maxSpeed : 8}); // $('.santa').snowfall({flakeCount : 100, maxSpeed : 8}); // window.setTimeout(function(){$('.test').snowfall('clear');}, 5000); }); </script> <?php */?> </head> <body> <?php seo_body_block($title,$description,$keywords); $contactlink = "http://www.flircameras.com/contact-information/"; // Prevent contact form modal duplicate instance on the contact page $contact_modal_exclude = array('/contact','/contact-information/'); if(!in_array($_SERVER['REQUEST_URI'],$contact_modal_exclude)) { ?><div id="contactFormModal" style="display:none;"></div><? } ?> <a name="top" id="top"></a> <div id="container"> <div id="header"> <div id="logo" title="<?php echo $title; ?> - FLIRCameras.com"> <img src="image/data/FLIRCameras/interface/flir-cameras.jpg" alt="<?php echo $title; ?>" border="0" usemap="#GMap" title="<?php echo $title; ?>" style="<?=$header_style;?>" class="<?=$header_class;?>" /><map name="GMap" id="GMap"><area shape="rect" coords="-81,-1,310,99" href="<?php echo $home; ?>" alt="Home" /></map> </div> <?php if (count($languages) > 1) { ?> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data"> <div id="language"><?php echo $text_language; ?><br /> <?php foreach ($languages as $language) { ?> &nbsp;<img src="image/flags/<?php echo $language['image']; ?>" alt="<?php echo $language['name']; ?>" title="<?php echo $language['name']; ?>" onclick="$('input[name=\'language_code\']').attr('value', '<?php echo $language['code']; ?>').submit(); $(this).parent().parent().submit();" /> <?php } ?> <input type="hidden" name="language_code" value="" /> <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" /> </div> </form> <?php } ?> <?php if (count($currencies) > 1) { ?> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data"> <div id="currency"><?php echo $text_currency; ?><br /> <?php foreach ($currencies as $currency) { ?> <?php if ($currency['code'] == $currency_code) { ?> <?php if ($currency['symbol_left']) { ?> <a title="<?php echo $currency['title']; ?>"><b><?php echo $currency['symbol_left']; ?></b></a> <?php } else { ?> <a title="<?php echo $currency['title']; ?>"><b><?php echo $currency['symbol_right']; ?></b></a> <?php } ?> <?php } else { ?> <?php if ($currency['symbol_left']) { ?> <a title="<?php echo $currency['title']; ?>" onclick="$('input[name=\'currency_code\']').attr('value', '<?php echo $currency['code']; ?>').submit(); $(this).parent().parent().submit();"><?php echo $currency['symbol_left']; ?></a> <?php } else { ?> <a title="<?php echo $currency['title']; ?>" onclick="$('input[name=\'currency_code\']').attr('value', '<?php echo $currency['code']; ?>').submit(); $(this).parent().parent().submit();"><?php echo $currency['symbol_right']; ?></a> <?php } ?> <?php } ?> <?php } ?> <input type="hidden" name="currency_code" value="" /> <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" /> </div> </form> <?php } ?> <div id="cart"> <div class="heading"> <h4><?php echo $text_cart; ?></h4> <a><span id="cart_total"><?php echo $text_items; ?></span></a></div> <div class="content"></div> </div> <div id="search"> <div class="button-search"></div> <div class="searchRealm"> <div style="position:relative;"><div id="closesearch" onClick="hideField()"><img src="../../../../../../image/search-close-black.png" width="16" height="16" /></div></div> <input type="text" name="filter_name" <? if(!empty($filter_name)) { ?>value="<?php echo $filter_name; ?>"<? } ?> class="searchField" placeholder="Search" /> <div class="searchResults" style="z-index:99999;"></div> </div> </div> <div id="welcome"> <?php require_once($_SERVER['DOCUMENT_ROOT'].'/includes/modals/login-signup-jquery.php'); ?> </div> </div> <?php if ($categories) { ?> <script> $(function() { $('#cameraCategoryTrigger').hover( function () { $('#cameraCategories', this).fadeIn(); }, function () { $('#cameraCategories', this).fadeOut(); } ); }); </script> <?php } ?> <div id="menu-f" style="margin-top:15px; margin-bottom:5px;"> <ul id="main-nav" class="button-group" style="padding:0px;"> <li><a href="/" class="button"><span class="fa fa-video-camera"></span> Products</a></li> <li><a href="/about-thermal-imaging/" class="button"><span class="fa fa-info-circle"></span> About</a></li> <li><a href="/exporting-conditions/" class="button"><span class="fa fa-globe"></span> Export</a></li> <li><a href="/grant-funding/" class="button"><span class="fa fa-usd"></span> Grants</a></li> <li><a href="/contact-information/" class="button"><span class="fa fa-envelope-o"></span> Contact</a></li> <li><a href="/index.php?route=account/account" class="button secondary"><span class="fa fa-key"></span> My Account</a></li> <li><a href="/index.php?route=checkout/cart" class="button secondary"><span class="fa fa-shopping-cart"></span> Cart</a></li> </ul> </div> <div id="notification"></div> <script type="text/javascript"> <!-- $('#module_login input').keydown(function(e) { if (e.keyCode == 13) { $('#module_login').submit(); } }); //--> </script>

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.0100.00718.56
8.3.50.0070.01121.16
8.3.40.0090.00618.88
8.3.30.0150.00619.09
8.3.20.0000.00820.32
8.3.10.0080.00021.89
8.3.00.0110.00017.97
8.2.180.0130.01016.50
8.2.170.0070.01519.01
8.2.160.0060.00922.96
8.2.150.0100.00024.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0000.00719.64
8.2.110.0100.00719.23
8.2.100.0040.00817.63
8.2.90.0080.00019.09
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0040.00417.80
8.2.50.0070.00318.07
8.2.40.0060.00319.82
8.2.30.0000.00717.85
8.2.20.0040.00417.71
8.2.10.0040.00418.00
8.2.00.0040.00417.84
8.1.280.0110.00325.92
8.1.270.0050.00320.24
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0100.00017.52
8.1.230.0040.00717.64
8.1.220.0050.00317.74
8.1.210.0000.01018.77
8.1.200.0050.00517.10
8.1.190.0040.00416.98
8.1.180.0000.00818.10
8.1.170.0050.00318.53
8.1.160.0000.00821.95
8.1.150.0000.00718.90
8.1.140.0050.00217.37
8.1.130.0000.00717.68
8.1.120.0040.00417.39
8.1.110.0000.00717.38
8.1.100.0040.00417.34
8.1.90.0070.00017.36
8.1.80.0030.00317.38
8.1.70.0030.00317.39
8.1.60.0000.00917.50
8.1.50.0030.00517.46
8.1.40.0000.00817.27
8.1.30.0080.00017.43
8.1.20.0040.00417.52
8.1.10.0040.00417.41
8.1.00.0060.00317.35
8.0.300.0030.00618.77
8.0.290.0040.00416.75
8.0.280.0050.00218.44
8.0.270.0030.00317.08
8.0.260.0030.00317.20
8.0.250.0030.00317.02
8.0.240.0000.00716.89
8.0.230.0070.00017.01
8.0.220.0030.00316.96
8.0.210.0000.00716.79
8.0.200.0070.00016.85
8.0.190.0000.00816.93
8.0.180.0040.00416.99
8.0.170.0000.00816.84
8.0.160.0040.00416.80
8.0.150.0000.00716.90
8.0.140.0000.00716.85
8.0.130.0070.00013.60
8.0.120.0000.00816.92
8.0.110.0060.00316.89
8.0.100.0080.00016.84
8.0.90.0040.00416.81
8.0.80.0100.00716.85
8.0.70.0040.00416.84
8.0.60.0040.00416.93
8.0.50.0040.00416.99
8.0.30.0120.00816.92
8.0.20.0120.00717.40
8.0.10.0060.00316.87
8.0.00.0060.01116.75
7.4.330.0050.00015.03
7.4.320.0030.00316.48
7.4.300.0030.00316.46
7.4.290.0050.00216.33
7.4.280.0030.00616.51
7.4.270.0030.00316.38
7.4.260.0040.00416.36
7.4.250.0080.00016.35
7.4.240.0050.00216.45
7.4.230.0030.00316.58
7.4.220.0090.00916.32
7.4.210.0070.00716.55
7.4.200.0040.00416.55
7.4.160.0100.00716.49
7.4.150.0070.01017.40
7.4.140.0140.00717.86
7.4.130.0120.00916.32
7.4.120.0070.01116.42
7.4.110.0100.00716.31
7.4.100.0100.01016.50
7.4.90.0060.01016.37
7.4.80.0060.01519.39
7.4.70.0160.00616.30
7.4.60.0070.01016.39
7.4.50.0060.00016.43
7.4.40.0060.00916.43
7.4.30.0130.01016.54
7.4.00.0100.00914.86
7.3.330.0070.00013.25
7.3.320.0030.00313.26
7.3.310.0000.00716.08
7.3.300.0020.00516.12
7.3.290.0070.00916.20
7.3.280.0090.00816.22
7.3.270.0080.00817.40
7.3.260.0100.00716.59
7.3.250.0090.01216.15
7.3.240.0100.01016.37
7.3.230.0070.01016.39
7.3.210.0090.01516.27
7.3.200.0120.00919.39
7.3.190.0090.00616.23
7.3.180.0150.00616.28
7.3.170.0100.01316.27
7.3.160.0040.01616.22
7.3.120.0080.01214.62
7.3.110.0100.00814.64
7.3.100.0080.00814.85
7.3.90.0110.00814.62
7.3.80.0050.01114.71
7.3.70.0100.00914.69
7.3.60.0020.01214.67
7.3.50.0050.00914.62
7.3.40.0070.00614.65
7.3.30.0080.00714.68
7.3.20.0030.00816.42
7.3.10.0050.00716.59
7.3.00.0060.01016.57
7.2.330.0100.00716.26
7.2.320.0100.01316.37
7.2.310.0100.00616.51
7.2.300.0080.00816.60
7.2.290.0120.00616.58
7.2.250.0080.01114.96
7.2.240.0100.00714.73
7.2.230.0060.01414.46
7.2.220.0030.00914.82
7.2.210.0110.00614.60
7.2.200.0070.01314.74
7.2.190.0100.00814.85
7.2.180.0080.00514.59
7.2.170.0100.00414.72
7.2.00.0030.01019.41
7.1.330.0060.00915.48
7.1.320.0050.01215.50
7.1.310.0080.01015.47
7.1.300.0060.00915.32
7.1.290.0110.00215.66
7.1.280.0040.01515.34
7.1.270.0080.00615.54
7.1.260.0100.00315.37
7.1.100.0040.00418.04
7.1.70.0120.00917.14
7.1.60.0030.02219.59
7.1.50.0200.01734.53
7.1.00.0100.07322.54
7.0.200.0040.00416.58
7.0.60.0070.04320.12
7.0.50.0100.03318.01
7.0.40.0070.05320.05
7.0.30.0300.04020.05
7.0.20.0300.06320.17
7.0.10.0030.04320.00
7.0.00.0200.07320.00
5.6.280.0000.07720.89
5.6.210.0170.07020.70
5.6.200.0070.08718.20
5.6.190.0170.04020.78
5.6.180.3800.05020.79
5.6.170.0230.04020.41
5.6.160.0170.03320.45
5.6.150.0100.07718.17
5.6.140.0100.07718.14
5.6.130.0030.07718.24
5.6.120.0000.04721.14
5.6.110.0030.08721.02
5.6.100.0030.05021.04
5.6.90.0200.07721.11
5.6.80.0070.04020.55
5.6.70.4330.04320.43
5.5.350.0300.06320.41
5.5.340.0000.08317.97
5.5.330.0070.08320.29
5.5.320.0170.04720.29
5.5.310.0170.04720.29
5.5.300.0030.08018.02
5.5.290.0000.05017.93
5.5.280.0030.04020.98
5.5.270.0170.07720.89
5.5.260.0130.08320.91
5.5.250.0070.08020.69
5.5.240.0300.07020.29
5.4.450.0300.06719.43
5.4.440.0400.06319.60
5.4.430.0100.05319.58
5.4.420.0100.05319.64
5.4.410.0130.05019.29
5.4.400.0130.04719.16
5.4.390.0130.05319.19
5.4.380.0170.04719.09
5.4.370.0170.04719.18
5.4.360.0070.05319.03
5.4.350.0030.06319.28
5.4.340.0100.05318.92
5.4.320.0070.06018.93
5.4.310.0130.05018.89
5.4.300.0230.05019.19
5.4.290.0170.04719.23
5.4.280.0170.05019.23
5.4.270.0170.04719.00
5.4.260.0070.05719.22
5.4.250.0070.05718.99
5.4.240.0130.05319.07
5.4.230.0100.05319.22
5.4.220.0130.05719.01
5.4.210.0130.05019.01
5.4.200.0130.06716.81
5.4.190.0100.05319.13
5.4.180.0030.06319.14
5.4.170.0130.07018.85
5.4.160.0130.06719.13
5.4.150.0030.06019.16
5.4.140.0030.05716.44
5.4.130.0100.05016.36
5.4.120.0070.05316.44
5.4.110.0170.04316.58
5.4.100.0030.05716.25
5.4.90.0130.04716.43
5.4.80.0070.06716.20
5.4.70.0300.04316.56
5.4.60.0130.04716.41
5.4.50.0170.04316.20
5.4.40.0130.05016.51
5.4.30.0030.05316.17
5.4.20.0130.04716.31
5.4.10.0030.05316.55
5.4.00.0000.05715.89
5.3.290.0070.05714.50
5.3.280.0070.05314.48
5.3.270.0100.05314.54
5.3.260.0030.06014.50
5.3.250.0070.05314.66
5.3.240.0100.05314.48
5.3.230.0030.05714.53
5.3.220.0130.05014.39
5.3.210.0100.05314.48
5.3.200.0130.06014.50
5.3.190.0100.05014.50
5.3.180.0070.05314.46
5.3.170.0100.05014.58
5.3.160.0100.05014.46
5.3.150.0100.05014.52
5.3.140.0030.05314.60
5.3.130.0200.05014.43
5.3.120.0100.05314.46
5.3.110.0230.04014.37
5.3.100.0200.04013.99
5.3.90.0070.05013.89
5.3.80.0070.05314.08
5.3.70.0100.04714.08
5.3.60.0030.05713.95
5.3.50.0100.05013.82
5.3.40.0070.05013.93
5.3.30.0030.05313.96
5.3.20.0030.05313.56
5.3.10.0100.04313.67
5.3.00.0070.05013.59
5.2.170.0100.04711.24
5.2.160.0130.05011.05
5.2.150.0030.05311.13
5.2.140.0070.04311.03
5.2.130.0100.03711.16
5.2.120.0030.04711.09
5.2.110.0100.04011.24
5.2.100.0170.03011.16
5.2.90.0070.04011.07
5.2.80.0100.03711.09
5.2.70.0070.04010.89
5.2.60.0100.04010.98
5.2.50.0030.04710.96
5.2.40.0000.04710.93
5.2.30.0100.03710.88
5.2.20.0000.04710.95
5.2.10.0070.04010.83
5.2.00.0070.04010.85
5.1.60.0100.03010.17
5.1.50.0170.02310.07
5.1.40.0170.02710.13
5.1.30.0030.04310.34
5.1.20.0100.03310.32
5.1.10.0000.04010.05
5.1.00.0030.03710.07
5.0.50.0070.0278.64
5.0.40.0070.0338.55
5.0.30.0130.0408.37
5.0.20.0000.0338.18
5.0.10.0030.0308.14
5.0.00.0030.0438.12
4.4.90.0100.0135.90
4.4.80.0130.0205.83
4.4.70.0000.0275.80
4.4.60.0170.0175.83
4.4.50.0070.0175.88
4.4.40.0000.0375.92
4.4.30.0000.0235.91
4.4.20.0030.0235.94
4.4.10.0000.0235.95
4.4.00.0030.0335.95
4.3.110.0030.0205.82
4.3.100.0000.0235.90
4.3.90.0030.0205.74
4.3.80.0030.0335.82
4.3.70.0070.0175.89
4.3.60.0000.0235.84
4.3.50.0030.0205.82
4.3.40.0000.0405.67
4.3.30.0030.0204.59
4.3.20.0000.0234.59
4.3.10.0000.0274.40
4.3.00.0030.0206.75

preferences:
96.54 ms | 401 KiB | 5 Q