Re: [RFC][DISCUSSION] Add RFC 4648 compliant data encoding API

From: Date: Tue, 11 Nov 2025 10:14:25 +0000
Subject: Re: [RFC][DISCUSSION] Add RFC 4648 compliant data encoding API
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-129194@lists.php.net to get a copy of this message
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 >

« previous php.internals (#129194) next »