php2go/fixtures/0003-leave-php-context.php

20 lines
236 B
PHP

<?php
$header = "bar";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<h1><?=$header?></h1>
<ul>
<?php for($i = 0; $i < 3; ++$i) { ?>
<li><?=$i?></li>
<?php } ?>
</ul>
</body>
</html>