Re: [RFC] [Under Discussion] New Curl URL API
| From: | Kamil Tekiela | Date: | Fri, 24 Jun 2022 14:24:17 +0000 |
| Subject: | Re: [RFC] [Under Discussion] New Curl URL API | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118083@lists.php.net to get a copy of this message | ||
Please do not add yet another thin wrapper of an underlying C API. PHP is
not a drop-in replacement of C. PHP is a much higher-level language.
Developers should not have to understand how the underlying library works
to be able to use PHP. We need to move away from thin C wrappers as a
language. PHP should abstract more, not less, of C code.
The new API doesn't have to have exactly the same names as the C library.
Please follow PHP naming conventions and implement OOP-based API.