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

That's weird because it works for me on both Windows and UNIX (CGI mode and
I can't test Apache now).
In any case, it should be pretty much Apache independent so I'm not sure
what's happening.
Can you try and debug it?

Andi

At 07:00 PM 7/31/00 -0700, Rasmus Lerdorf wrote:
>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/
> >

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