Re: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized From: Rasmus Lerdorf (rasmus <email protected>)
Date: 07/31/00

Hrm.. I tested it on a server with current CVS and the commented ASP line
didn't work for me.

-Rasmus

On Mon, 31 Jul 2000, Zak Greant wrote:

> At 05:17 PM 7/31/00 -0600, Zak Greant wrote:
> >At 04:14 PM 7/31/00 -0700, Rasmus Lerdorf wrote:
> >> > <%= $variable; # This is a shortcut for "<%echo .." %>
> >>
> >>Everything except this line works fine.
> >
> >I am going to go sleep now - I am obviously too brain-damaged to debug
> >anything right...
>
> Hmmm... it seems that even when my results conflict with Rasmus', I should
> still check that they are invalid before embarrassing myself...
>
> Everything looks ok to me.
>
> Here is my input script:
>
> <pre>
> one <? echo ("this is the simplest, an SGML processing instruction\n"); ?>
>
> two <% echo ("this is an ASP processing instruction\n"); %>
>
> three <? $foo = "this is foo."; ?>
>
> four <?= $foo; ?>
>
> five <%= $foo; %>
>
> <hr size="1">
>
> <?php echo("if you want to serve XML documents, do like this\n"); ?>
>
> <hr size="1">
>
> <% echo ("You may optionally use ASP-style tags"); $variable = "boo"; %>
> <%= $variable; # This is a shortcut for "<%echo .." %>
>
>
> And here is the output:
>
> <pre>
> one this is the simplest, an SGML processing instruction
>
> two this is an ASP processing instruction
>
> three
> four this is foo.
> five this is foo.
> <hr size="1">
>
> if you want to serve XML documents, do like this
>
> <hr size="1">
>
> You may optionally use ASP-style tagsboo
>
> Zak
> ps I am still going to go home and sleep...
>
>
>

-- 
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>