# 2 new test failures

- Thread: https://externals.io/message/55048
- Original archive: https://news-web.php.net/php.internals/55048
- Started by Rasmus Lerdorf on 2011-09-01T04:50:55+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #55048 — Rasmus Lerdorf — 2011-09-01T04:50:55+00:00

URL: https://externals.io/message/55048#55048

Pierre, your changes today caused 2 new test failures:

Bug #51709 (Can't use keywords as method names)
[tests/basic/bug51709_1.phpt]
Bug #51709 (Can't use keywords as method names)
[tests/basic/bug51709_2.phpt]

The diffs:

001+ Parse error: syntax error, unexpected 'for' (T_FOR), expecting
identifier (T_STRING) in
/home/rasmus/php-src/branches/PHP_5_4/tests/basic/bug51709_1.php on
 line 4
001- Parse error: %s error, %s(T_STRING)%s in %sbug51709_1.php on line %d

001+ Parse error: syntax error, unexpected 'goto' (T_GOTO), expecting
identifier (T_STRING) in
/home/rasmus/php-src/branches/PHP_5_4/tests/basic/bug51709_2.php
on line 4
001- Parse error: %s error, %s(T_STRING)%s in %sbug51709_2.php on line %d

-Rasmus

---

## #55050 — Pierre Joye — 2011-09-01T07:41:34+00:00

URL: https://externals.io/message/55048#55050 · In reply to: #55048

hi,

That must be due to my changes. They were failing due to different
version of the parser tool (win and nux). Let me check them again with
another version.


> Pierre, your changes today caused 2 new test failures:
>
> Bug #51709 (Can't use keywords as method names)
> [tests/basic/bug51709_1.phpt]
> Bug #51709 (Can't use keywords as method names)
> [tests/basic/bug51709_2.phpt]
>
> The diffs:
>
> 001+ Parse error: syntax error, unexpected 'for' (T_FOR), expecting
> identifier (T_STRING) in
> /home/rasmus/php-src/branches/PHP_5_4/tests/basic/bug51709_1.php on
>  line 4
> 001- Parse error: %s error, %s(T_STRING)%s in %sbug51709_1.php on line %d
>
> 001+ Parse error: syntax error, unexpected 'goto' (T_GOTO), expecting
> identifier (T_STRING) in
> /home/rasmus/php-src/branches/PHP_5_4/tests/basic/bug51709_2.php
> on line 4
> 001- Parse error: %s error, %s(T_STRING)%s in %sbug51709_2.php on line %d
>
> -Rasmus
>



-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
