Use short echo syntax
1 files changed, 9 insertions(+), 9 deletions(-)

M index.php
M index.php +9 -9
@@ 1,6 1,6 @@ 
 <?php
 
-    define('DL_VERSION', '2.2.2');
+    define('DL_VERSION', '2.2.3');
     // Required for strftime(). Set to UTC because :internet:.
     date_default_timezone_set('UTC');
 

          
@@ 156,7 156,7 @@ 
 <!doctype html>
 <head>
     <meta charset="utf-8">
-    <title>Index of <?php echo h($uri); ?></title>
+    <title>Index of <?= h($uri); ?></title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/0.9.9/magnific-popup.css">
 

          
@@ 238,7 238,7 @@ 
     </style>
 </head>
 <body id="files">
-    <h1>Index of <?php echo tree_link($uri); ?></h1>
+    <h1>Index of <?= tree_link($uri); ?></h1>
 
     <input placeholder="search (non-recursive)" class="search" />
 

          
@@ 249,19 249,19 @@ 
                 <th><span class="sort" data-sort="size">Size</span></th>
                 <th><span class="sort" data-sort="date">Date</span></th>
             </tr>
-            <?php echo up_link($uri); ?>
+            <?= up_link($uri); ?>
         </thead>
         <tbody class="list">
-            <?php echo file_rows($dir, $dirs, true); ?>
-            <?php echo file_rows($dir, $files, false); ?>
+            <?= file_rows($dir, $dirs, true); ?>
+            <?= file_rows($dir, $files, false); ?>
         </tbody>
     </table>
 
     <footer>
         <hr>
         <em>
-            Running <a href="https://bitbucket.org/edogawaconan/dirlist-php">dirlist-php <?php echo DL_VERSION ?></a>.
-            Powered by PHP <?php echo phpversion(); ?>.
+            Running <a href="https://bitbucket.org/edogawaconan/dirlist-php">dirlist-php <?= DL_VERSION ?></a>.
+            Powered by PHP <?= phpversion(); ?>.
         </em>
     </footer>
 

          
@@ 289,7 289,7 @@ 
 
         new List("files", {
             valueNames: ["filename", "size", "date"],
-            page: <?php echo count($dirs) + count($files); ?>
+            page: <?= count($dirs) + count($files); ?>
         })
     </script>
 </body>