3v4l.org

run code in 300+ PHP versions simultaneously
<?php include "tract-text.php?file=$_GET['file']"; ?> <!DOCTYPE html> <html lang="en"> <head> <!-- Web Design by Ryan Zimmerman --> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title><?php echo $article['title']; ?></title> <!--add keywords &amp; description--> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.5.2/css/foundation.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/foundation-icons.css"> <link rel="stylesheet" href="CSS/tracts.css" /> </head> <body> <div class="row"> <div class="small-12 columns"> <br /> <div class="js-header"></div> <!-- --> <?php echo $article['text']; ?> <!-- --> <br /> <a href="index.html"><img src="F/home.png" alt="Back to Home/Table of Contents" class="center-block" /></a> <div class="js-footer"></div> <nav class="float-nav"> <ul class="button-group stack-for-small"> <li><a href="index.html" class="button radius secondary tiny lg-icon"><span class="fi-home"></span><span class="show-for-sr">Homepage</span></a></li> <li><a href="#top" class="button radius secondary tiny lg-icon"><span class="fi-arrow-up"></span><span class="show-for-sr">Back to Top</span></a></li> </ul> </nav> </div> </div> </body> </html>
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.30, 5.6.8 - 5.6.14
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /in/RC5UZ on line 2
Process exited with code 255.

preferences:
190.13 ms | 1395 KiB | 66 Q