On 22 June 2022 05:38:13 BST, Pierrick Charron <pierr...@php.net> wrote: >Hi, > >Following our discussions we had on the subject of the new Curl URL API, >and other curl improvements. I decided to only focus on adding the new Curl >URL API and put aside all other improvements. Here is the RFC that reflects >our current conversations. > >https://wiki.php.net/rfc/curl-url-api > >Feel free to give any feedback, concern or support :-)
I've two things: - The new CurlUrl class should probably be immutable from the start. It was my biggest mistake not to do that with DateTime. - What happens if the curl library available on the system does not have the features and functions that this new class relies on? I would expect the class to not be available either, but the RFC does not mention that. cheers Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php