3v4l.org

run code in 300+ PHP versions simultaneously
<?php <html> <head> <title>Demo Preview for Styler PrestaShop Theme #53967</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Before buying it, get the look and feel of the premium Styler PrestaShop Theme (#53967) by viewing the live preview. Go through the pages, check out the images, click the buttons, explore the functionality."/> <meta charset="utf-8"><script type="text/javascript">window.NREUM||(NREUM={}),__nr_require=function(e,n,t){function r(t){if(!n[t]){var o=n[t]={exports:{}};e[t][0].call(o.exports,function(n){var o=e[t][1][n];return r(o||n)},o,o.exports)}return n[t].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<t.length;o++)r(t[o]);return r}({QJf3ax:[function(e,n){function t(e){function n(n,t,a){e&&e(n,t,a),a||(a={});for(var u=c(n),f=u.length,s=i(a,o,r),p=0;f>p;p++)u[p].apply(s,t);return s}function a(e,n){f[e]=c(e).concat(n)}function c(e){return f[e]||[]}function u(){return t(n)}var f={};return{on:a,emit:n,create:u,listeners:c,_events:f}}function r(){return{}}var o="nr@context",i=e("gos");n.exports=t()},{gos:"7eSDFh"}],ee:[function(e,n){n.exports=e("QJf3ax")},{}],3:[function(e,n){function t(e){return function(){r(e,[(new Date).getTime()].concat(i(arguments)))}}var r=e("handle"),o=e(1),i=e(2);"undefined"==typeof window.newrelic&&(newrelic=window.NREUM);var a=["setPageViewName","addPageAction","setCustomAttribute","finished","addToTrace","inlineHit","noticeError"];o(a,function(e,n){window.NREUM[n]=t("api-"+n)}),n.exports=window.NREUM},{1:12,2:13,handle:"D5DuLP"}],gos:[function(e,n){n.exports=e("7eSDFh")},{}],"7eSDFh":[function(e,n){function t(e,n,t){if(r.call(e,n))return e[n];var o=t();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,n,{value:o,writable:!0,enumerable:!1}),o}catch(i){}return e[n]=o,o}var r=Object.prototype.hasOwnProperty;n.exports=t},{}],D5DuLP:[function(e,n){function t(e,n,t){return r.listeners(e).length?r.emit(e,n,t):void(r.q&&(r.q[e]||(r.q[e]=[]),r.q[e].push(n)))}var r=e("ee").create();n.exports=t,t.ee=r,r.q={}},{ee:"QJf3ax"}],handle:[function(e,n){n.exports=e("D5DuLP")},{}],XL7HBI:[function(e,n){function t(e){var n=typeof e;return!e||"object"!==n&&"function"!==n?-1:e===window?0:i(e,o,function(){return r++})}var r=1,o="nr@id",i=e("gos");n.exports=t},{gos:"7eSDFh"}],id:[function(e,n){n.exports=e("XL7HBI")},{}],G9z0Bl:[function(e,n){function t(){var e=d.info=NREUM.info,n=f.getElementsByTagName("script")[0];if(e&&e.licenseKey&&e.applicationID&&n){c(p,function(n,t){n in e||(e[n]=t)});var t="https"===s.split(":")[0]||e.sslForHttp;d.proto=t?"https://":"http://",a("mark",["onload",i()]);var r=f.createElement("script");r.src=d.proto+e.agent,n.parentNode.insertBefore(r,n)}}function r(){"complete"===f.readyState&&o()}function o(){a("mark",["domContent",i()])}function i(){return(new Date).getTime()}var a=e("handle"),c=e(1),u=window,f=u.document;e(2);var s=(""+location).split("?")[0],p={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-768.min.js"},d=n.exports={offset:i(),origin:s,features:{}};f.addEventListener?(f.addEventListener("DOMContentLoaded",o,!1),u.addEventListener("load",t,!1)):(f.attachEvent("onreadystatechange",r),u.attachEvent("onload",t)),a("mark",["firstbyte",i()])},{1:12,2:3,handle:"D5DuLP"}],loader:[function(e,n){n.exports=e("G9z0Bl")},{}],12:[function(e,n){function t(e,n){var t=[],o="",i=0;for(o in e)r.call(e,o)&&(t[i]=n(o,e[o]),i+=1);return t}var r=Object.prototype.hasOwnProperty;n.exports=t},{}],13:[function(e,n){function t(e,n,t){n||(n=0),"undefined"==typeof t&&(t=e?e.length:0);for(var r=-1,o=t-n||0,i=Array(0>o?0:o);++r<o;)i[r]=e[n+r];return i}n.exports=t},{}]},{},["G9z0Bl"]);</script> <meta property="fb:admins" content="720898483"/> <meta property="fb:admins" content="1129631948"/> <meta property="fb:admins" content="100001777951090"/> <link rel="publisher" href="https://plus.google.com/116173187155256042113"/> <link rel="icon" href="http://static.templatemonster.com/img/favicon.ico?d=df6906b" type="image/x-icon"/> <link rel="shortcut icon" href="http://static.templatemonster.com/img/favicon.ico?d=df6906b" type="image/x-icon"/> <!--[if lt IE 9]> <link rel="stylesheet" href="http://static.templatemonster.com/css/ie.css?d=e861c29" media="screen"> <script src="http://static.templatemonster.com/js/html5shiv.js?d=64caf3e"></script> <![endif]--> <!--[if IE 9]> <link rel="stylesheet" href="http://static.templatemonster.com/css/compiledie9.css?d=e861c29" media="screen"> <![endif]--> <!--[if (gt IE 9)|(!IE)]><!--> <!--<![endif]--> <link rel="stylesheet" href="http://static.templatemonster.com/css/standalone/livedemo.css?d=e861c29"> <script type="text/javascript"> window.template = {'id':53967 , 'price':139} </script> <link rel="canonical" href="http://www.templatemonster.com/demo/53967.html"/> </head> <body itemscope itemtype="http://schema.org/WebPage" id="demo-page" class=" is-responsive"> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-MS2BNB" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-MS2BNB');</script> <div class="relative js-demo-upper-menu js-template-id " onmousewheel="SmoothSize; return false" id="headerlivedemo" data-template_id="53967" data-brand="PrestaShop" data-categories="Fashion &amp; Beauty / Fashion / Apparel" data-variant="premium" data-product_name="PrestaShop Themes"> <div id="advanced"> <div class="bg"> <div class="top_container live-container"> <a class="brand brand_livedemo" href="http://www.templatemonster.com/"></a> <div class="name_template"> <h1 title="Styler PrestaShop Theme">Styler PrestaShop Theme <span class="link-1 js-popup-open" data-popupi="js-popupi-1"> #53967</span> </h1> <div id="popover2" class="js-popup-content js-popupi-1"> <div class="icon-close"></div> <a href="http://www.templatemonster.com/prestashop-themes/53967.html">Template Details</a> <div class="clear"></div> <span id="pop_link2"></span> <a href="http://livedemo00.template-help.com/prestashop_53967">Preview without Frame</a> <div class="clear"></div> <span id="pop_link3"></span> <a href="/templates.php?similar-to=53967">View Similar Templates</a> </div> </div> <div class="js-demo-bar-phone demo-bar-phone block-hidden"> <span>Can I help you choose a product?</span> <a href="tel:+18555445335"><span class="phone-inner">1 855 544 5335</span></a> </div> <div class="responsive-block"> <ul id="responsivator"> <li class="response active" id="desktop"></li> <li class="response" id="tablet-portrait"></li> <li class="response" id="tablet-landscape"></li> <li class="response" id="iphone-portrait"></li> <li class="response" id="iphone-landscape"></li> <li id="qr" class="qr"> <div class="_slide-down1 view_options"> <div id="qr-open" class="js-popup-open" data-popupi="js-popupi-2"><span></span></div> <div id="qr-content" class="clearfix js-popup-content js-popupi-2" style="display:none"> <div class="img-wrapper"> <div class="icon-close"></div> <img src="https://chart.googleapis.com/chart?cht=qr&amp;chs=180&amp;chl=http%3A%2F%2Flivedemo00.template-help.com%2Fprestashop_53967%3Futm_source%3Ddirect%26utm_medium%3Ddemo%26utm_campaign%3Dqr-code&amp;choe=UTF-8&amp;chld=M|0" alt=""/> </div> <div id="qr-text">Preview on mobile device</div> <div class="clear"></div> </div> </div> </li> </ul> </div> <div class="topbar_info"> <div class="btn-group buy_now"> <span class=" button btn-important tm-icon cart-icon js-demo-buy-button js-btn" data-href="https://secure.templatemonster.com/cart.php?add=53967&amp;price_variant=regular" data-variant='regular' data-price='139' data-full_price='139'> <span class="btn-inner">Buy Now</span> </span> <span class=" js-none button btn-important tm-icon cart-icon js-demo-buy-button js-btn" data-href="https://secure.templatemonster.com/cart.php?add=53967&amp;price_variant=exclusive" data-variant='exclusive' data-price='4500' data-full_price='4500'> <span class="btn-inner">Buy Now</span> </span> <span class="button btn-important tm-icon cart-icon already-get js-none js-btn" data-href="https://secure.templatemonster.com/cart.php"> <span class="btn-inner">Go to Cart</span> </span> </div> <span class="price-item-title js-cart-item-info js-none">Item 53967 in cart.</span> <div class="price-wrapper regular js-offer-trigger js-popup-open dropdown-arrow" data-popupi="js-popupi-3"> <span class="price-title">Single Site License </span> <span class="price js-price js-price-topbar">$139</span> <span id="buy-button" class="icon-arrow-small-down" data-toggle="dropdown"></span> </div> <div class="box-drop js-popup-content js-popupi-3" id="dropdown"> <ul class="list-drop"> <li class="js-demo-list-li" data-variant='regular'> <span class="js-drop" data-href="https://secure.templatemonster.com/cart.php?add=53967&amp;price_variant=regular"> Single Site License <span class="price js-price" data-discount="139" data-price="139"> $139</span> </span> <span class="recommended"></span> <div class="popover"> Under a Single Site License for the template you are granted a non-exclusive non-transferable permission to use the template on a single domain. </div> </li> <li class="js-demo-list-li" data-variant='exclusive'> <span class="js-drop" data-href="https://secure.templatemonster.com/cart.php?add=53967&amp;price_variant=exclusive"> Buyout License <span class="price js-price" data-discount="4500" data-price="4500"> $4,500</span> </span> <div class="popover"> A Buyout License ensures that you are the last buyer/licensee of the template. You are granted a non-exclusive non-transferable permission to use the template on multiple domains. </div> </li> </ul> </div> <div class="clear" style="clear: both;"></div> </div> </div> </div> </div> <span class="trigger icon-arrow-small-up"></span> </div> <div id="iframelive" class=""> <div id="frameWrapper"> <iframe id="frame" src="http://livedemo00.template-help.com/prestashop_53967"> [Your user agent does not support frames or is currently configured not to display frames. However, you may visit the related document.] </iframe> </div> </div> <script src="http://static.templatemonster.com/js/varnish.compiled.application.en.js?d=64caf3e"></script> <script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"72d7dcce33","applicationID":"11369494,11369496","transactionName":"ZV1TZ0FTVkFVWkwKXlwXckZARldfG11dDl4=","queueTime":0,"applicationTime":382,"atts":"SRpQEQlJRU8=","errorBeacon":"bam.nr-data.net","agent":"js-agent.newrelic.com\/nr-768.min.js"}</script></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)
7.0.130.0100.06721.96
7.0.120.0170.07022.02
7.0.110.0130.06022.11
7.0.100.0070.06322.09
7.0.90.0130.05721.96
7.0.80.0030.06722.08
7.0.70.0100.05322.08
7.0.60.0130.05221.96
7.0.50.0100.07219.95
7.0.40.0100.06021.21
7.0.30.0130.04821.13
7.0.20.0180.08221.15
7.0.10.0120.05221.18
7.0.00.0000.05321.11
5.6.280.0130.05321.13
5.6.270.0170.07321.11
5.6.260.0000.08320.82
5.6.250.0130.07021.12
5.6.240.0130.05320.89
5.6.230.0200.06720.71
5.6.220.0100.06720.86
5.6.210.0000.06220.73
5.6.200.0080.05819.66
5.6.190.0100.05720.71
5.6.180.0230.06720.91
5.6.170.0220.07020.70
5.6.160.0070.05220.74
5.6.150.0050.07019.65
5.6.140.0030.06319.60
5.6.130.0070.06519.50
5.6.120.0100.05020.89
5.6.110.0080.06021.09
5.6.100.0100.06521.03
5.6.90.0100.06721.00
5.6.80.0050.06020.41
5.6.70.0070.05020.21
5.6.60.0070.05320.24
5.6.50.0030.06020.39
5.6.40.0100.05020.09
5.6.30.0070.05720.41
5.6.20.0030.05720.09
5.6.10.0070.05020.21
5.6.00.0030.05320.36
5.5.380.0170.04717.57
5.5.370.0130.05717.65
5.5.360.0070.05317.60
5.5.350.0120.07319.06
5.5.340.0070.05518.01
5.5.330.0120.06019.14
5.5.320.0170.06219.15
5.5.310.0270.06719.15
5.5.300.0030.07317.92
5.5.290.0120.06218.14
5.5.280.0150.06519.56
5.5.270.0120.07219.35
5.5.260.0130.06219.35
5.5.250.0100.06319.26
5.5.240.0200.05318.76
5.5.230.0000.05717.41
5.5.220.0000.05317.45
5.5.210.0070.04717.46
5.5.200.0100.05017.21
5.5.190.0000.06317.46
5.5.180.0100.05017.46
5.5.160.0130.06017.47
5.5.150.0100.05017.59
5.5.140.0070.06317.27
5.5.130.0130.04717.25
5.5.120.0100.04317.30
5.5.110.0070.05017.57
5.5.100.0070.05317.12
5.5.90.0070.05017.34
5.5.80.0000.05717.27
5.5.70.0070.05317.38
5.5.60.0030.05017.47
5.5.50.0100.04317.27
5.5.40.0000.05317.27
5.5.30.0030.05317.47
5.5.20.0000.05717.47
5.5.10.0070.05017.20
5.5.00.0100.04717.50

preferences:
145.01 ms | 1394 KiB | 7 Q