File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,12 @@ PHP 8.5 UPGRADE NOTES
153
153
CURLOPT_INFILESIZE only accepts a 32-bit signed integer as the file
154
154
size (2.0 GiB) even on 64-bit systems. CURLOPT_INFILESIZE_LARGE
155
155
accepts the largest integer value the system can handle.
156
+ . Added CURLFOLLOW_OBEYCODE and CURLFOLLOW_FIRSTONLY value for
157
+ CURLOPT_FOLLOWLOCATION curl_easy_setopt option.
158
+ CURLFOLLOW_OBEYCODE to follow more strictly in regard of redirect
159
+ if they are allowed. CURLFOLLOW_FIRSTONLY to follow only the
160
+ first redirect thus if there any follow up redirect, it won't go
161
+ any further.
156
162
157
163
- DOM:
158
164
. Added Dom\Element::$outerHTML.
@@ -351,6 +357,11 @@ PHP 8.5 UPGRADE NOTES
351
357
9. Other Changes to Extensions
352
358
========================================
353
359
360
+ - Curl:
361
+ . curl_easy_setopt with CURLOPT_FOLLOWLOCATION option's value no longer
362
+ is treated as boolean but integer to handle CURLFOLLOW_OBEYCODE and
363
+ CURLFOLLOW_FIRSTONLY.
364
+
354
365
- Fileinfo:
355
366
. Upgraded to file 5.46.
356
367
. The return type of finfo_close() has been changed to true, rather
@@ -377,6 +388,8 @@ PHP 8.5 UPGRADE NOTES
377
388
. CURLINFO_HTTPAUTH_USED.
378
389
. CURLINFO_PROXYAUTH_USED.
379
390
. CURLOPT_INFILESIZE_LARGE.
391
+ . CURLFOLLOW_OBEYCODE.
392
+ . CURLFOLLOW_FIRSTONLY.
380
393
381
394
- Intl:
382
395
. DECIMAL_COMPACT_SHORT.
Original file line number Diff line number Diff line change 6
6
<?php
7
7
include 'skipif-nocaddy.inc ' ;
8
8
if (curl_version ()['version_number ' ] < 0x080d00 ) die ('skip requires curl >= 8.13.0 ' );
9
- if (ini_get ('open_basedir ' )) exit ("skip open_basedir is set " );
10
9
?>
11
10
--FILE--
12
11
<?php
You can’t perform that action at this time.
0 commit comments