Re: [RFC][DISCUSSION] Add RFC 4648 compliant data encoding API
Hi all,
Since my last reply I have updated the RFC:
- RFC Text: https://wiki.php.net/rfc/data_encoding_api
- Discussion Thread: https://news-web.php.net/php.internals/128069
The main changes are:
- I added functions for base58 and base85 encoding;
- For completeness, I introduced an error marker class (as per PHP
policies
<https://github.com/php/policies/blob/main/coding-standards-and-naming.rst#throwables>)
and
a specific exception to handle potential encoding errors;
- I added examples to better explain the expected behaviours during
string process;
- I have updated the migration path from the current/legacy API to the
newly proposed API;
Best regards,
Ignace
>
Thread (20 messages)