// PHP is really logical to have three different tokens for { with
    // inconsistent names and only one for a closing brace.

Ample comments and a test.

CommentFileSizeAuthor
php_is_braindead.patch1.6 KBchx

Comments

dries’s picture

Waw, that is braindead. Should we open a bug report at php.net?

Crell’s picture

Probably. But we need to work around it regardless.

dries’s picture

Status: Needs review » Needs work

Committed to CVS HEAD.

chx’s picture

Status: Needs work » Fixed

Wrong status IMO.

sun’s picture

Issue tags: +PHPWTF

Tagging.

Status: Fixed » Closed (fixed)
Issue tags: -PHPWTF

Automatically closed -- issue fixed for 2 weeks with no activity.