[php-langspec][Issue #245] - Add curl OOP-style to PHP 8

From: Date: Thu, 26 Mar 2020 22:36:51 +0000
Subject: [php-langspec][Issue #245] - Add curl OOP-style to PHP 8
Groups: php.standards 
Request: Send a blank email to standards-+get-1503@lists.php.net to get a copy of this message
You can view the Issue on github: https://github.com/php/php-langspec/issues/245 Opened By: kamil-tekiela Issue Description: I would like to propose adding CUrl classes to PHP 8. Currently we do not have classes apart from CURLFile class. I think that native implementation of curl in OOP would be a very good idea. I have written PoC of what this class could look like. https://github.com/kamil-tekiela/curl Native implementation would benefit from: - Inheritance - Method chaining - Error reporting as exceptions - Cleaner syntax

« previous php.standards (#1503) next »