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

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 <email protected>
> >For additional commands, e-mail: php-dev-help <email protected>
> >To contact the list administrators, e-mail: php-list-admin <email protected>
>
> ---
> Andi Gutmans <andi <email protected>>
> http://www.zend.com/
>

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