3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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>
Output for 7.0.0 - 7.0.13
Parse error: syntax error, unexpected '<', expecting end of file in /in/ArTiu on line 2
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Parse error: syntax error, unexpected '<' in /in/ArTiu on line 2
Process exited with code 255.