3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html lang="en"> <head> <meta charset='utf-8'> <title>SHS Survey :: Detecting lying faces</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <link rel="stylesheet" href="../css/style.css"> <script type="text/javascript"> document.addEventListener("DOMContentLoaded", init, false); function init() { setTimeout(function() { window.location.href = "<?php echo $redirect_page ?>"; }, <?php echo END_REDIRECT_DELAY ?>); } </script> </head> <body> <div class="container"> <div class="row row-top-margin text-center"> <div class="col-md-12"> <h1>Thank You !</h1> </div> </div> <div class="row row-top-margin"> <div class="col-md-8 col-md-offset-2"> <p class="lead">Thank you for taking part in our study. Your answers were successfully recorded.</p> <p class="lead">If you are interested to know more about our study, <a href="more.php">click here</a>.</p> </div> </div> <div class="row row-top-margin"> <div class="col-md-8 col-md-offset-2"> <p class="lead row-top-margin important-text">You'll be redirected to the home page in <?php echo END_REDIRECT_DELAY/1000 ?> seconds...</p> </div> </div> <div class="row"> <div class="col-md-12 text-center"> <button class="btn btn-primary btn-lg" onclick='window.location.href = "<?php echo $redirect_page ?>";'>Home page</button> </div> </div> </div> </body> </html>
Output for 7.2.0
<!DOCTYPE html> <html lang="en"> <head> <meta charset='utf-8'> <title>SHS Survey :: Detecting lying faces</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <link rel="stylesheet" href="../css/style.css"> <script type="text/javascript"> document.addEventListener("DOMContentLoaded", init, false); function init() { setTimeout(function() { window.location.href = " Notice: Undefined variable: redirect_page in /in/MX4QU on line 15 "; }, Warning: Use of undefined constant END_REDIRECT_DELAY - assumed 'END_REDIRECT_DELAY' (this will throw an Error in a future version of PHP) in /in/MX4QU on line 16 END_REDIRECT_DELAY); } </script> </head> <body> <div class="container"> <div class="row row-top-margin text-center"> <div class="col-md-12"> <h1>Thank You !</h1> </div> </div> <div class="row row-top-margin"> <div class="col-md-8 col-md-offset-2"> <p class="lead">Thank you for taking part in our study. Your answers were successfully recorded.</p> <p class="lead">If you are interested to know more about our study, <a href="more.php">click here</a>.</p> </div> </div> <div class="row row-top-margin"> <div class="col-md-8 col-md-offset-2"> <p class="lead row-top-margin important-text">You'll be redirected to the home page in Warning: Use of undefined constant END_REDIRECT_DELAY - assumed 'END_REDIRECT_DELAY' (this will throw an Error in a future version of PHP) in /in/MX4QU on line 39 Warning: A non-numeric value encountered in /in/MX4QU on line 39 0 seconds...</p> </div> </div> <div class="row"> <div class="col-md-12 text-center"> <button class="btn btn-primary btn-lg" onclick='window.location.href = " Notice: Undefined variable: redirect_page in /in/MX4QU on line 45 ";'>Home page</button> </div> </div> </div> </body> </html>
Output for 7.1.0 - 7.1.10
<!DOCTYPE html> <html lang="en"> <head> <meta charset='utf-8'> <title>SHS Survey :: Detecting lying faces</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <link rel="stylesheet" href="../css/style.css"> <script type="text/javascript"> document.addEventListener("DOMContentLoaded", init, false); function init() { setTimeout(function() { window.location.href = " Notice: Undefined variable: redirect_page in /in/MX4QU on line 15 "; }, Notice: Use of undefined constant END_REDIRECT_DELAY - assumed 'END_REDIRECT_DELAY' in /in/MX4QU on line 16 END_REDIRECT_DELAY); } </script> </head> <body> <div class="container"> <div class="row row-top-margin text-center"> <div class="col-md-12"> <h1>Thank You !</h1> </div> </div> <div class="row row-top-margin"> <div class="col-md-8 col-md-offset-2"> <p class="lead">Thank you for taking part in our study. Your answers were successfully recorded.</p> <p class="lead">If you are interested to know more about our study, <a href="more.php">click here</a>.</p> </div> </div> <div class="row row-top-margin"> <div class="col-md-8 col-md-offset-2"> <p class="lead row-top-margin important-text">You'll be redirected to the home page in Notice: Use of undefined constant END_REDIRECT_DELAY - assumed 'END_REDIRECT_DELAY' in /in/MX4QU on line 39 Warning: A non-numeric value encountered in /in/MX4QU on line 39 0 seconds...</p> </div> </div> <div class="row"> <div class="col-md-12 text-center"> <button class="btn btn-primary btn-lg" onclick='window.location.href = " Notice: Undefined variable: redirect_page in /in/MX4QU on line 45 ";'>Home page</button> </div> </div> </div> </body> </html>
Output for 5.3.19 - 7.0.20
<!DOCTYPE html> <html lang="en"> <head> <meta charset='utf-8'> <title>SHS Survey :: Detecting lying faces</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <link rel="stylesheet" href="../css/style.css"> <script type="text/javascript"> document.addEventListener("DOMContentLoaded", init, false); function init() { setTimeout(function() { window.location.href = " Notice: Undefined variable: redirect_page in /in/MX4QU on line 15 "; }, Notice: Use of undefined constant END_REDIRECT_DELAY - assumed 'END_REDIRECT_DELAY' in /in/MX4QU on line 16 END_REDIRECT_DELAY); } </script> </head> <body> <div class="container"> <div class="row row-top-margin text-center"> <div class="col-md-12"> <h1>Thank You !</h1> </div> </div> <div class="row row-top-margin"> <div class="col-md-8 col-md-offset-2"> <p class="lead">Thank you for taking part in our study. Your answers were successfully recorded.</p> <p class="lead">If you are interested to know more about our study, <a href="more.php">click here</a>.</p> </div> </div> <div class="row row-top-margin"> <div class="col-md-8 col-md-offset-2"> <p class="lead row-top-margin important-text">You'll be redirected to the home page in Notice: Use of undefined constant END_REDIRECT_DELAY - assumed 'END_REDIRECT_DELAY' in /in/MX4QU on line 39 0 seconds...</p> </div> </div> <div class="row"> <div class="col-md-12 text-center"> <button class="btn btn-primary btn-lg" onclick='window.location.href = " Notice: Undefined variable: redirect_page in /in/MX4QU on line 45 ";'>Home page</button> </div> </div> </div> </body> </html>