3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php str_replace('<!-- SCRIPT_PLACEHOLDER -->', 'adfssdfla sdj;fkljsdflksddsfffffffffffffffffffffffffffffffff asldkfj;lksdj ;lkasdjf ;lkasdjf;lka sdjfl;sjfkl;jasdl;kfjasdl;kjf;asdkjf;klasdjf;klsdjfklasdjl;kdjsfl;kasdjf l;kasdjf;lkasdjfl;kdjfl;kasdj;flk dasjf;lkad', '<!DOCTYPE html> <html lang="ru"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title data-alert="Эй, обрати внимание!">Флирчи (9)</title><meta name="description" content=""> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <link rel="stylesheet" href="http://s.znakomster.dev/screen.css?60b7223115d508987dda17813063baa34" type="text/css" media="screen, projection"><link rel="stylesheet" href="http://s.znakomster.dev/components.css?8c5fb140ac4621decd3bba6663ea79604" type="text/css" media="screen, projection"><!--[if lt IE 8]><link rel="stylesheet" href="http://s.znakomster.dev/ie.css?bb44e3c7a7bd953b57485f53774eb10d4" type="text/css" media="screen, projection"><![endif]--> <meta name="google-site-verification" content="ERnCNXiOwvm15Ojw8BW6s7aMWANCmgWTNGq34QdE0YI"/> <meta name="google-site-verification" content="Bm4-AbTx0RNOjhxxUVbgXguuv5zpZluir01wLDcTdTs"/> <meta name="google-site-verification" content="jItt7ucga_KxTqZflxxnYV9ISF_1hb_jK3fAobg03UI" /> <meta name="google-site-verification" content="QGCurO76WP5LEgiUu0gfHPbuliTw3gTHfF0KxwWstc8" /> <meta name="google-site-verification" content="Zg5RR6VIYwU5OWB6VZUgC0G7dSc4Zosu_NdoO6V_veA" /> <meta name="google-site-verification" content="DW9Bw9iUXeyvRZCIj0j4klrhdugoUNebpLb7ZXazdIs" /> <meta name="google-site-verification" content="JRGCHS3Xo4Mrt8tMBkPnAbkVmJgp21nieaHuRQIlBQY" /> <meta name="google-site-verification" content="bcLFcwhz5Lue6dhlPKBB4JUV8D5cioXd_ty_WJFYrcM" /> <meta name="check_bc" content="1979a955c174a56df02fc3e1bb97b1126bb3f32a"/> <script type="text/javascript" src="/public/js/pixp.js"></script> <meta name="mailru-verification" content="b29e4dc5156f9137"/> <link rel="shortcut icon" href="/favicon.ico?1" type="image/x-icon"/> <link rel="icon" href="/favicon.ico?1" type="image/x-icon"/> <meta name="verify-admitad" content="961d384744"/> <script type="text/javascript"> /* to head code CODE BANNER / CODE BANNER CODE BANNER / CODE BANNER CODE BANNER / CODE BANNERCODE BANNER / CODE BANNERCODE BANNER / CODE BANNER CODE BANNER / CODE BANNER CODE BANNER / CODE BANNER */ </script> </head> <body class=" lang-ru"> <div class="navbar-spacer navbar-spacer-znakomster-dev"></div> <div class="navbar "> <div class="navbar-inner"> <div class="container"> <a class="logo" href="/?track"> </a> <ul class="nav"> <li class="rate active"> <a href="/?track&wn=1" >Симпатии</a> </li> <li class=" " id="menu-messages"> <a href="/messages?track&m=9">Новые <strong>9</strong> </a> </li> <li > <a class="monster" href="/monsters/detailed"> Мой монстр </a> </li> </ul> <div class="top-menu-user-nav"> <ul class="nav user"> <li> <span class="vip-dialog" data-context="premium:menu_head"> <a class="premium-btn1-or" href="/help/upgrade?context=premium:menu_head"> Получить премиум </a> </span> </li> <li class="wallet"> <i class="pic" onclick="document.location = /pay/wallet?context=wallet:icon_menu_head; return false;"></i> <em class="amount-o-hl" onclick="document.location = /pay/wallet?context=wallet:menu_head; return false;"><span class="coins-yellow">99</span></em> </li> <li class="user"> <a href="http://znakomster.dev/u2448637"> <img border=0 src="http://s.znakomster.dev/images/no-avatar-male-t.png?1" width="40" height="40" title="sdfd"/> </a> </li> <li class="user-menu"> <a href="javascript:;">&nbsp;</a> <ul> <li> <a href="/pay/wallet?context=wallet:menu_head" class="wallet"> Кошелек </a> </li> <li class="settings"> <a href="/profile/settings">Настройки</a> </li> <li><a href="/sign/out">Выход</a></li> </ul> </li> </ul> <span class="payment-hint premium"> <button class="close">×</button> <span class="title">Скидка! Только сегодня!!</span> <span class="prm-discount-hint"></span> <span>Оплатив сейчас премиум, вы получаете <span><strong>скидку 25%</strong></span></span> <span class="row-button"> <a href="/help/upgrade?context=premium:head_hint_25" class="btn-buy vip-dialog-force" data-context="premium:head_hint_25" title="Получить">Получить</a> </span> </span> </div> </div> </div> </div> <div class="clear"></div> <div class="container " id="content-container"> <div class="clear"></div> <div class="body"> <div class="box-rotate-profile"> <div class="rotate-profile"> <div class="over-wait"></div> <div id="avatar-container"> <a id="photo-link" target="_blank" href="http://znakomster.dev/u2448396"> <img border=0 src="http://i11.plirt.ru/m//11/g_bb.jpg" id="avatar" title="Ксюша"/> </a> </div> <div id="rate-pane"> <h3> <a target="_blank" href="http://znakomster.dev/u2448396">Ксюша</a> <span>23 года, Киев</span> </h3> <div class="rateme sympathy-wrapper"> <h4>Куда тебе интересно сходить со мной?</h4> <input type= val <ul class="sympathy " data-answer-sympathy=0> <li> <a data-question data-a="button-variant red" href="javascript:;"> <span class="icon sprite-small-museum"></span> <span>Музей</span> </a> </li> <li> <a data-questio data-answer="button-variant green" href="javascript:;"> <span class="icon sprite-small-concert"></span> <span>Концерт</span> </a> </li> </ul> <div class="clear"></div> </div> <div class="clear"></div> <a href="javascript:;" class="skip" data-user-le="Продолжить игру">Пропустить</a> </div> <div class="preload" style="text-indent: -2000px;"> <img src="http://i11.plirt.ru/m//11/g_bb.jpg" width="1" height="1" style="height: 1px; width: 1px; opacity: 0.1;" /> </div> </div> </div> <div class="clear"></div> </div> <div class="context"> <!-- Slot: 20, 4 --> <script> /* to body code CODE BANNER / CODE BANNER CODE BANNER / CODE BANNER CODE BANNER / CODE BANNERCODE BANNER / CODE BANNERCODE BANNER / CODE BANNER CODE BANNER / CODE BANNER CODE BANNER / CODE BANNER */ </script> asdf asdfasd fsdfa sd <script src="/asdf/asdfjkds/sdfa"></script><!--/end--> <div class="clear"></div> <div id="notifiers_new"> <div class="clear"></div> </div> <div id="notifiers"> <div class="clear"></div></div> <div class="sbm-friends"> <div class="sidebar-box-menu"> <p class="sbm-title popularity">МОЯ ПОПУЛЯРНОСТЬ</p> <div class="profile-up" context="wallet:profile_promote_rightmenu"><div class="profile-up-image"></div><span title="Стоимость 20 монет" class="hint" hintwidth="150" >Повысить</span></div> <div class="clearfix"></div> <ul> <li> <a class="vip-only" href="/profile/visitors" data-title="visitors"> Посетители <span class="counter marker">+3</span> </a> </li> <li> <a href="/profile/favd" data-title="favd"> Кому я нравлюсь <span class="counter ">6</span> </a> </li> <li> <a class="vip-only" href="/profile/sympathy" data-title="sympathy"> Мной заинтересовались <span class="counter ">15</span> </a> </li> <li> <a class="vip-only" data-title="mutuals" href="/profile/mutuals"> Взаимные симпатии <span class="counter marker">+5</span> </a> </li> <li class=""> <a href="/profile/favs" data-title="favs"> Мне нравятся <span id="flc-favs" data-favs-cnt="4" class="counter">4</span> </a> </li> <li> <a href="/ad?url=http%3A%2F%2Fkismia.com%2Fautoreg%3Futm_source%3DFlirchi%26utm_medium%3Dcontext%26utm_campaign%3Dcompatibility%26channel%3Dflirchi_context_compatibility&params=name,avatar,email,gender" data-title="compatibility" target="_blank"> Совместимость </a> </li> </ul> </div> <div style="text-align: center"> </div> </div> </div> <div class="context-blank hidden">&nbsp;</div> <div class="footer "> <div class="container"> <ul class=left> <li><a href="/help/mobile?ref=footer">Мобильная версия</a></li> <li><a href="/help/about">О проекте</a></li> <li><a href="/rules">Правила</a></li> <li><a href="/touch">Поддержка</a></li> </ul> <ul class="lang-switch right"> <li><a data-lang="en" href="javascript:;">English</a></li> <li><a class=current data-lang="ru" href="javascript:;">Русский</a></li> <li><a data-lang="es" href="javascript:;">Español</a></li> <li><a data-lang="br" href="javascript:;">Português</a></li> <li><a data-lang="tr" href="javascript:;">Türkçe</a></li> <li><a data-lang="id" href="javascript:;">Indonesia</a></li> <li><a data-lang="se" href="javascript:;">Svensk</a></li> </ul> </div> </div> <br><br> <script type="text/javascript" src="http://s.znakomster.dev/system.js?352994a241fff870f79e51c30ac3bf14"></script><script type="text/javascript">App.init({ action: "index", static_host: "http://s.znakomster.dev", host: "znakomster.dev" xfbml : true, channelUrl : document.location.protocol + "//" + document.location.host + "/xd.html", frictionlessRequests: true }); FB.getLoginStatus(function(response) { var event; if (response && (response.session || response.authResponse)) { event = "social.fb.ready"; App.Facebook.ready = true; } else { event = "social.fb.not_ready"; App.Facebook.ready = false; } App.Facebook.initialized = true; jQuery(document).trigger(event); }); }; (function(d) { var js, id = book-jssdref = d.getElementsByTagNameript[0]; if (d.getElementById(id)) {return;} js = d.createElementcript; js.id = id; js.async = true; js.src = "//connect.facebook.net/ru_RU/all.js"; ref.parentNode.insertBefore(js, ref); }(document)); </script><script type="text/javascript"> App.context.yandexAppId = 5d3c7d3ec4bacb2124a197f790ba1 </script><script src="http://s.znakomster.dev/js/sockjs-0.3.min.js"></script> <div class="banners_transparent"></div> </div> <div id="timer_display_plugin" style="display:none;">{"Redis":{"time":"0.0131","calls":2},"Cache":{"time":"0","calls":0},"Mysql":{"mysql":{"time":"0.0114","calls":57},"mysql-yoda":{"time":"0.0011","calls":7},"mysql-c3po":{"time":"0.0047","calls":26},"mysql-contacts":{"time":"0.0025","calls":12},"mysql-xizor":{"time":"0.0012","calls":7},"mysql-c3po_slave":{"time":"0.0031","calls":20},"mysql-log":{"time":"0.8582","calls":20},"mysql-yoda_slave":{"time":"0.0006","calls":4},"mysql-threads:2":{"time":"0.0005","calls":2},"mysql-r2d2":{"time":"0.0024","calls":12},"mysql-urlhash":{"time":"0.0008","calls":4},"Total":0.8865,"Calls":171},"PHP":0.1141,"Services":0.8996,"Total":"1.0137"}</div> <script> App.trackTiming(window.location.pathname.replace(/[0-9]+/,"ServerSide_Redis",13); </script> <script> App.trackTiming(window.location.pathname.replace(/[0-9]+/,"ServerSide_Cache",0); </script> <script App.trackTiming(window.location.pathname.replace(/[0-9]+/,"ServerSide_Mysql",887); </script> <script> App.trackTiming(window.location.pathname.replace(/[0-9]+/,,"ServerSide_PHP",114); </script> <script> App.trackTiming(window.location.pathname.replace(/[0-9]+/,),"ServerSide_Services",900); </script> <script> App.trackTiming(window.location.pathname.replace(/[0-9]+/),"ServerSide_Total",1014); </script> </body> </html> <!-- 1.025s, from: !-->);
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected ''<!DOCTYPE html>' (T_ENCAPSED_AND_WHITESPACE) in /in/nmRAs on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/nmRAs on line 2
Process exited with code 255.