Date: 07/31/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5085 Updated: Apache segfaults when displaying php source code (.phps)"
- Previous message: Zak Greant: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- In reply to: Zak Greant: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- Reply: Mike Robinson: "RE: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5085 Updated: Apache segfaults when displaying php source code (.phps)"
- Previous message: Zak Greant: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- In reply to: Zak Greant: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- Reply: Mike Robinson: "RE: [PHP-DEV] Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

