Re: Re: PHP 4.0 Bug #3077 Updated: ASP tags aren't recognized
| From: | Rasmus Lerdorf | Date: | Tue, 01 Aug 2000 02:00:43 +0000 |
| Subject: | Re: 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-27157@lists.php.net to get a copy of this message | ||
Doesn't work on toye.
http://toye.php.net/~rasmus/asp.php
I get a parse error on the line. If I didn't have asp_tags turned on, I
wouldn't get a parse error, so they are definitely on.
A phpinfo() confirms that:
http://toye.php.net/~rasmus/info.php
toye is running current CVS (as a couple of hours ago)
And <%= $variable; %> works fine, but:
<%= $variable; # boo %>
and
<%= $variable; // boo %>
both give parse errors. Add a newline makes it work:
<%= $variable; # boo
%>
-Rasmus
On Tue, 1 Aug 2000, Andi Gutmans wrote:
> Are you sure you have asp_tags turned on?
> It works fine for me.
>
> Andi
>
> At 04:14 PM 7/31/00 -0700, Rasmus Lerdorf wrote:
> > > <%= $variable; # This is a shortcut for "<%echo .." %>
> >
> >Everything except this line works fine.
> >
> >-Rasmus
> >
> >
> >--
> >PHP Development Mailing List <http://www.php.net/>
> >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-dev-help@lists.php.net
> >To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> ---
> Andi Gutmans <andi@zend.com>
> http://www.zend.com/
>