3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <head> <body> <meta name="google-site-verification" content="BXMHxDPy51ql69RIySSEtVQp4A8kukYKcSR9QPnrAAQ" /> <title>Lounge Items Price List</title> <meta name=viewport content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <link rel="icon" href="/favicon.ico" type="image/x-icon"> <meta property="og:site_name" content="CS:GO Backpack"/> <meta name="description" content="Lounge items price list" /> <meta name="keywords" content="cs, cs:go, global offensive, inventory, overvalued, backpack, csgolounge, lounge, list " /> <meta http-equiv="content-language" content="en" /> <meta name="author" content="Only" /> <?php $jezyk = 'eng.php'; include ($jezyk); date_default_timezone_set('Europe/Warsaw'); $adresip = $_SERVER[REMOTE_ADDR]; $data = date("d-m-Y")." "; $godzina = date("H:i:s"). " "; session_start(); $currency = $_GET['currency']; if($currency){ if($currency == "euro" or $currency == "dolar" or $currency == "pound"){ setcookie("currency", $currency, strtotime( '+30 days' ) ); }else{ setcookie("currency", "euro", strtotime( '+30 days' ) ); } } if(!$currency){ $currency = $_COOKIE['currency']; if(!$currency){ $currency == "euro"; $ramka_euro = "1"; } } if($currency == "dolar"){ $currency_znak = "$"; $ramka_dolar = "1"; }elseif($currency == "pound"){ $currency_znak = "£"; $ramka_pound = "1"; } else{ $currency_znak = "€"; $ramka_euro = "1"; } ?> <link rel="stylesheet" type="text/css" href="188570.css" /> </head> <div id="wrapper"> <div id="navigation"> <div id="menu"> <a name="top"></a> <ul> <li><a href="/">Inventory Value</a></li> <li><a href="/lounge.php">LOUNGE ITEMS PRICE LIST</a></li> <li><a href="/bethistory.php">LOUNGE BETS BALANCE</a></li> <li><a href="/faq.php">FAQ</a></li> </ul> <a href="http://csgobackpack.tk/lounge.php?currency=pound"><img src="/pound.png" style="float:right;" border="<?php echo $ramka_pound; ?>" width="35" alt="pound" /></a> <a href="http://csgobackpack.tk/lounge.php?currency=euro"><img src="/euro.png" style="float:right;" border="<?php echo $ramka_euro; ?>" width="35" alt="euro" /></a> <a href="http://csgobackpack.tk/lounge.php?currency=dolar"><img src="/dolar.png" style="float:right;" border="<?php echo $ramka_dolar; ?>" width="35" alt="dolar" /></a> </div> </p> </div> <div id="content"> <center> <br><form action="lounge.php" method="GET"> Sort by: <select name="type"> <option selected='selected' >PROFITABILITY</option> <option>DIFFERENCE</option> <option>LOUNGE PRICE</option> <option>STEAM PRICE</option> </select> <input type="submit" name="form1" value="Show"></form> </center> <br> <?php $typ = $_GET['type']; if(!$typ){ $typ = "PROFITABILITY"; } if($typ == "PROFITABILITY"){ $kopia_source = "wypisz-prof$currency_znak.txt"; $kopia = file_get_contents($kopia_source); echo $kopia; } if($typ == "DIFFERENCE"){ $kopia_source = "wypisz-diff$currency_znak.txt"; $kopia = file_get_contents($kopia_source); echo $kopia; } if($typ == "LOUNGE PRICE"){ $kopia_source = "wypisz-lounge$currency_znak.txt"; $kopia = file_get_contents($kopia_source); echo $kopia; } if($typ == "STEAM PRICE"){ $kopia_source = "wypisz-steam$currency_znak.txt"; $kopia = file_get_contents($kopia_source); echo $kopia; } $ile_przedmiotow = substr_count($kopia, 'Difference:'); $ile_oplacalnych = substr_count($kopia, 'color=green'); $ile_nieoplacalnych = substr_count($kopia, 'color=red'); $adresip = $_SERVER[REMOTE_ADDR]; $data = date("d-m-Y")." "; $godzina = date("H:i:s"). " "; $dane = $data.$godzina."Adres IP: ".$adresip." Wyświetlił listę cen w walucie ".$currency_znak." i typie: ".$typ."\r\n"; $file = "zxcv.txt"; $fp = fopen($file, "a"); flock($fp, 2); fwrite($fp, $dane); flock($fp, 3); flock($fp); ?> </div> <div id="leftcolumn"> <?php echo "<br>Items: $ile_przedmiotow"; echo "<br>Profitable: $ile_oplacalnych"; echo "<br>Unprofitable: $ile_nieoplacalnych<br><br>"; ?> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Csgobackpack --> <ins class="adsbygoogle" style="display:inline-block;width:336px;height:280px" data-ad-client="ca-pub-1597603389521284" data-ad-slot="1221074651"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </center> <br><br> </center> </div> <div id="footer"> <div align="right"><a target="_blank" href="http://steamcommunity.com/tradeoffer/new/?partner=99290791&token=MgjqfYBO"><img src="donate.png" alt="Donate" /></a></div> </div> </div> <script type="text/javascript"> var sc_project=9950433; var sc_invisible=1; var sc_security="65c5a5d8"; var scJsHost = (("https:" == document.location.protocol) ? "https://secure." : "http://www."); document.write("<sc"+"ript type='text/javascript' src='" + scJsHost+ "statcounter.com/counter/counter.js'></"+"script>"); </script> <noscript><div class="statcounter"><a title="web analytics" href="http://statcounter.com/" target="_blank"><img class="statcounter" src="http://c.statcounter.com/9950433/0/65c5a5d8/1/" alt="web analytics"></a></div></noscript> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-50103423-1', 'csgobackpack.tk'); ga('require', 'displayfeatures'); ga('send', 'pageview'); </script> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks
<!DOCTYPE html> <html> <head> <body> <meta name="google-site-verification" content="BXMHxDPy51ql69RIySSEtVQp4A8kukYKcSR9QPnrAAQ" /> <title>Lounge Items Price List</title> <meta name=viewport content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <link rel="icon" href="/favicon.ico" type="image/x-icon"> <meta property="og:site_name" content="CS:GO Backpack"/> <meta name="description" content="Lounge items price list" /> <meta name="keywords" content="cs, cs:go, global offensive, inventory, overvalued, backpack, csgolounge, lounge, list " /> <meta http-equiv="content-language" content="en" /> <meta name="author" content="Only" /> Warning: include(): open_basedir restriction in effect. File(eng.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/v3JTM on line 21 Warning: include(eng.php): Failed to open stream: Operation not permitted in /in/v3JTM on line 21 Warning: include(): Failed opening 'eng.php' for inclusion (include_path='.:') in /in/v3JTM on line 21 Fatal error: Uncaught Error: Undefined constant "REMOTE_ADDR" in /in/v3JTM:26 Stack trace: #0 {main} thrown in /in/v3JTM on line 26
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
92.33 ms | 402 KiB | 8 Q