3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $language_array = array("en", "de", "fr"); $language = isset($_GET['language']) ? $_GET['language'] : null; if !in_array($language, $language_array) { $language = 'en'; } include 'inc/header.php'; $page = isset($_GET['page']) ? $_GET['page'] : null; if (!include 'pages' . $page . '.php') { header("HTTP/1.1 404 Not Found"); echo '404'; } include 'inc/footer.php'; ?>
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected '!', expecting '(' in /in/BCQTL on line 6
Process exited with code 255.