Re: [RFC] Improved parser error message
| From: | Felipe Pena | Date: | Mon, 16 May 2011 12:46:55 +0000 |
| Subject: | Re: [RFC] Improved parser error message | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52388@lists.php.net to get a copy of this message | ||
Hi,
2011/5/16 Ferenc Kovacs <info@tyrael.hu>
>
> +1
>
> do you think that this could cause some kind of BC?
> I don't think that anybody out there parses the tokens as is, but there are
> crazy people. :)
> the other thing that I can imagine that the developers will be surprised
> that they are getting meaningful error messages, but I think they can live
> with that. :)
>
> Tyrael
>
There is no BC. The changes doesn't affects token_*() functions for example.
$ sapi/cli/php -r 'var_dump(token_name(318));'
string(6) "T_ECHO"
I added such information to the wiki page. Thanks. :)
--
Regards,
Felipe Pena