php-developer-list | 2001041
Date: 04/05/01
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7549 Updated: fdf_next_field_name doesn't work"
- Previous message: Jani Taskinen: "Re: [PHP-DEV] Re: [PHP-QA] What to do about 4.0.5"
- In reply to: Steven Roussey: "[PHP-DEV] 4.0.5 Comments change (leads to inappropriate parse error based on contents of comments)"
- Next in thread: Steven Roussey: "RE: [PHP-DEV] 4.0.5 Comments change (leads to inappropriate parse error based on contents of comments)"
- Reply: Steven Roussey: "RE: [PHP-DEV] 4.0.5 Comments change (leads to inappropriate parse error based on contents of comments)"
- Reply: Hartmut Holzgraefe: "Re: [PHP-DEV] 4.0.5 Comments change (leads to inappropriateparse error based on contents of comments)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This was fixed to be consistent with ?>.
One line comments end at a new line or at a closing bracket (?> or %>)
Andi
At 05:54 PM 4/4/2001 -0700, Steven Roussey wrote:
>Hi,
>
>I found our problem. In 4.0.5, comments seem to be parsed differently. We
>have ASP style tags enabled so we can use %> as well as ?>. But we had
>comments like this:
>
><?
>
>//asdfasdf%>asdfasdf
>echo('');
>?>
>
>< 4.0.5 would ignore the whole line. 4.0.5 still parses it for open and
>close tags. The lines above get handled differently from 4.0.4 to 4.0.5. It
>is hard to track if the comment is inside a class, because there is no parse
>error until the end of the file, and the code is not spit out like HTML (as
>in the example above) because it is compiling the file. I think this is a
>bug. We can clean up our code to fix it (and will), but....
>
>Sincerely,
>
>Steven Roussey
>Network54.com
>http://network54.com/?pp=e
>
>
>--
>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>
-- 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: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7549 Updated: fdf_next_field_name doesn't work"
- Previous message: Jani Taskinen: "Re: [PHP-DEV] Re: [PHP-QA] What to do about 4.0.5"
- In reply to: Steven Roussey: "[PHP-DEV] 4.0.5 Comments change (leads to inappropriate parse error based on contents of comments)"
- Next in thread: Steven Roussey: "RE: [PHP-DEV] 4.0.5 Comments change (leads to inappropriate parse error based on contents of comments)"
- Reply: Steven Roussey: "RE: [PHP-DEV] 4.0.5 Comments change (leads to inappropriate parse error based on contents of comments)"
- Reply: Hartmut Holzgraefe: "Re: [PHP-DEV] 4.0.5 Comments change (leads to inappropriateparse error based on contents of comments)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

