Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized
| From: | David J. MacKenzie | Date: | Mon, 31 Jul 2000 23:01:25 +0000 |
| Subject: | Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27139@lists.php.net to get a copy of this message | ||
Here is the test page I use to demonstrate the problem.
Could someone who can get a *working* version of a recent PHP4
build use it to check whether ASP tags and comments work now?
<html><head><title>PHP test</title></head>
<body>
<hr>
<p>one
<? echo ("this is the simplest, an SGML processing instruction\n"); ?>
<p>two
<% echo ("this is an ASP processing instruction\n"); %>
<p>three
<? $foo = "this is foo."; ?>
<p>four
<?= $foo; ?>
<p>five
<%= $foo; %>
<hr>
<?php echo("if you want to serve XML documents, do like this\n"); ?>
<hr>
<script language="php">
echo ("some editors (like FrontPage) don't
like processing instructions");
</script>
<hr>
<% echo ("You may optionally use ASP-style tags"); $variable = "boo"; %>
<%= $variable; # This is a shortcut for "<%echo .." %>
</body>
</html>