3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo gzinflate( base64_decode('nVVtb9s2EP7sAPkPByOAbNSWsxX70iYesFVDhjVL67gohjQQaOkUEaZIhaSsCkH++44SlTiOlwU1DFsin3vu+NwLDw8ODwY8g1HGBcb4nRtrRgGXSZgomfGbsMzLYDyGO423Fdf4fO/9PaAwCHc5shT1aChUwixX8h1waSwTwuGGE1guvkQTeHv8lkzI6S6hxMR6Rto90mgqYWOiwhulORo4haIxtyK+rVA3o+Fl9DH6fQk8nYAHNbFkBcIfi4tz2LK7WHyIFvDbP1Aqw11gEzIajkFpSDn5P28uP3+ESGulQ++8QFnFgsu1ubomv8EJg1xjdjoMZ+FwfqYKPJmxeeCwLTyPVyxZO4O41ZGOY1FaMm1fb9D2S2Z01Il3FVgsSkFhxiWzeXANIZAUKX6fMplO+yNtKdJ6WSetly5RxG+spmON/jOECQTfAqI+ypSyqOnpW9DyAX1c3vfSUtyMcjqGDnc3wCRXJEM5/9OCQSwMNKqCnG0QNBZqgynYHOGc6ZXAM2UsZbSAPiLINL05QH/m8GRWzonuA25QqJLLG9rmBkyieWmJ2ICvj5T8aa4qA7XS6xD+QvRwfOTn0rLEAhG4ZSVF4+gIVec8yaFGYGbdhpxRkuGTQEYVW7A1gqk0tlYdkaGaMBRiQ465pBqhkgarwMnJZYXuuTK4HW1/lmXO5IMT96+honxq6gGZUjAtLvDSD0hq65/vu7/2d0ARC6S0aFXvK/4MbZLHzBiVjJ73yHhMhXL3Qv1ul9WvPD1tS+Opq6uAp101DuduO7eFMCUmnIkkZ9rshnYVPGm/4HoC0d/L+POXi2V0OXY8D73i2n6w1dyCqo2EebG1VVEy2Uyg0mICGTJL+TK+x9s9p87Xs2gRAStL3ZbiKfz0A11PX5e40REnguP3nS7PQtyXgB40JiP+5o1Pgl+Nedom4QldJ7Lz+ojzR23B+0V/tPbYHbGf8pFir+Ii3Is8veivIuvBexjv/bS03FKFkyD9IKxxRSlCXz7trOuXXoNdabp4El0VK/P/s9oZ+FFI2E+qRjdiVg08mOXWlu9ms7quw6IdZ7kfZzPyPXUvdNKpxg3H2kz9CHA33Hxn+n3FFZx1cFh0cLhs4S6g8GSlYbZr4wqYp+imn+CMdl4T13BOkYGPzI3LDU/QOCdg6HJF+Pn4+JewV6C/d3/0Hjo8+Bc='));
Output for 4.3.0 - 7.2.0
if (file_exists('inc.config.php')) {require('inc.config.php');} else {header("location: install.php", TRUE, 303);} require('inc.connect.php'); $result_categories = mysql_query("SELECT id, category_name FROM categories ORDER BY position, id") or die('MySQL Error.'); $menu_links[] = '<a href="./.">Home</a>'; $mh_backlink_file_content = file_get_contents($config['template_path'] . 'index-and-category.php'); $mh_bakclink_exists = strpos($mh_backlink_file_content, '\' . $footer . \''); if ($mh_bakclink_exists == false) { echo '<p>It seems you have removed the MarbleHost.com backlink from the template.</p><p>Developing this script has required serious work. Keeping the backlink intact is the only thing which we ask you for. Please make sure the link is displayed in order to continue to use this script.</p><p>Thank you for your understanding.</p>'; exit; } while ($row_categories = mysql_fetch_assoc($result_categories)) { $menu_links[] = '<a href="category.php?id=' . $row_categories['id'] . '">' . htmlspecialchars($row_categories['category_name'], ENT_QUOTES) . '</a>'; } $result_listings = mysql_query("SELECT id, company, url, features FROM companies WHERE approved = 1 ORDER BY position, id") or die('MySQL Error.'); for ($i = 0; $row_listings = mysql_fetch_assoc($result_listings); $i++) { $listing_id[] = $row_listings['id']; $listing_company[] = htmlspecialchars($row_listings['company'], ENT_QUOTES); $listing_url[] = htmlspecialchars($row_listings['url'], ENT_QUOTES); $listing_features[] = htmlspecialchars($row_listings['features'], ENT_QUOTES); } $title = $config['website_name']; $website_title = $config['website_name']; $breadcrumbs = '<a href="./.">Home</a>'; $footer = 'Powered by <a href="http://www.marblehost.com/web-hosting-reviews-script.php">MarbleHost.com Web Hosting Reviews Script</a>.<br />MarbleHost.com provides reliable <a href="http://www.marblehost.com/">web hosting services</a> since 2005.'; require($config['template_path'] . 'index-and-category.php');