[PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized From: David J. MacKenzie (djm <email protected>)
Date: 07/31/00

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>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>