Re: Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized
| From: | Zak Greant | Date: | Mon, 31 Jul 2000 23:24:10 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27147@lists.php.net to get a copy of this message | ||
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 .." %>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...Everything except this line works fine.I am going to go sleep now - I am obviously too brain-damaged to debug anything right...