On Mon, Jan 4, 2016 at 7:38 PM, Stanislav Malyshev <smalys...@gmail.com> wrote:
>> Do you mean have users of the API do that? Or have the implementation
>> of token_name() do that?  Because the latter doesn't seem unreasonable
>> at all.
>
> I meant for token_name() to do that internally, so that the user can use
> just token_name() instead of boilerplate code. Sorry for not being clear.
>
>> For example:
>> var_dump(token_name(ord(';'))); // string(1)";"
>
> Yes, exactly.
>
Awesome, have updated the RFC accordingly.

-Sara

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to