On 20 Jun 2022, at 14:44, Christoph M. Becker <cmbecke...@gmx.de> wrote: > On 20.06.2022 at 15:13, Pierrick Charron wrote: >> about the new Curl URL API, I think it's still time to finalize the >> discussions and include it in the 8.2 release as it allows us to solve some >> potential security issues. > > Given that designing a new OO API obviously isn't uncontroversial, and that > there are only four weeks left till feature freeze, it might be best to go > with a simple procedural API for PHP 8.2 only.
+1... while I'd also like an OO API, it will be a much bigger project, and would need a fair amount of thought/discussion. As to the URL API, it solves the problem of developers making their own URL parsers that often work differently to the cURL parser (those differences can cause security issues); and considering it's possible for cURL 7.62.0 (Oct 2018) to do that parsing, and it's a fairly simple API, that would work in a similar way to the existing cURL functionality in PHP, it would be good for PHP developers to use that in PHP 8.2. Craig -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php