Skip to content

Commit b118a4b

Browse files
committed
UPGRADING entries
1 parent 218e65d commit b118a4b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

UPGRADING

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ PHP 8.5 UPGRADE NOTES
153153
CURLOPT_INFILESIZE only accepts a 32-bit signed integer as the file
154154
size (2.0 GiB) even on 64-bit systems. CURLOPT_INFILESIZE_LARGE
155155
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.
156162

157163
- DOM:
158164
. Added Dom\Element::$outerHTML.
@@ -351,6 +357,11 @@ PHP 8.5 UPGRADE NOTES
351357
9. Other Changes to Extensions
352358
========================================
353359

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+
354365
- Fileinfo:
355366
. Upgraded to file 5.46.
356367
. The return type of finfo_close() has been changed to true, rather
@@ -377,6 +388,8 @@ PHP 8.5 UPGRADE NOTES
377388
. CURLINFO_HTTPAUTH_USED.
378389
. CURLINFO_PROXYAUTH_USED.
379390
. CURLOPT_INFILESIZE_LARGE.
391+
. CURLFOLLOW_OBEYCODE.
392+
. CURLFOLLOW_FIRSTONLY.
380393

381394
- Intl:
382395
. DECIMAL_COMPACT_SHORT.

0 commit comments

Comments
 (0)