Skip to content

Commit 06120df

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
2 parents 972a5a0 + 8c8a38a commit 06120df

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ PHP NEWS
1414
. Fixed bug GH-10168: use-after-free when utilizing assigned object freed
1515
during assignment. (nielsdos)
1616

17+
- Curl:
18+
. Fixed deprecation warning at compile time. (Max Kellermann)
19+
1720
- Date:
1821
. Fix GH-10447 ('p' format specifier does not yield 'Z' for 00:00). (Derick)
1922
. Fix GH-10152 (Custom properties of Date's child classes are not

ext/curl/interface.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262
#include "curl_private.h"
6363
#include "curl_arginfo.h"
6464

65+
#ifdef __GNUC__
66+
/* don't complain about deprecated CURLOPT_* we're exposing to PHP; we
67+
need to keep using those to avoid breaking PHP API compatibiltiy */
68+
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
69+
#endif
70+
6571
#ifdef PHP_CURL_NEED_OPENSSL_TSL /* {{{ */
6672
static MUTEX_T *php_curl_openssl_tsl = NULL;
6773

0 commit comments

Comments
 (0)