Re: Discussion about new Curl URL API and ext/curl improvements

From: Date: Thu, 16 Jun 2022 13:07:11 +0000
Subject: Re: Discussion about new Curl URL API and ext/curl improvements
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-117965@lists.php.net to get a copy of this message
First of all, thank you for working on this. I wanted OO API for Curl for a long time. Exceptions all the way. Code that's not using exceptions is usually more clunky and error-prone. The new OO API shouldn't have the possibility to return null/false on error. This is considered a thing of the past nowadays and the majority of developers prefer exceptions on error. Please do not add any more procedural APIs. The existing ones should be deprecated and removed at some point in the future. Regards Kamil

« previous php.internals (#117965) next »