[PR #870] [MERGED] [PHP 8.4] Fix: Curl CURLOPT_BINARYTRANSFER deprecated #1106

Closed
opened 2026-02-25 21:37:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/870
Author: @Ayesh
Created: 1/16/2024
Status: Merged
Merged: 1/25/2024
Merged by: @kroky

Base: masterHead: php84-curl-depr


📝 Commits (1)

  • 45fc055 [PHP 8.4] Fix: Curl CURLOPT_BINARYTRANSFER deprecated

📊 Changes

1 file changed (+0 additions, -3 deletions)

View changed files

📝 lib/api.php (+0 -3)

📄 Description

Pullrequest

The CURLOPT_BINARYTRANSFER PHP constant from the Curl extension was no-op since PHP 5.1, and is deprecated in PHP 8.4. This removes the constant usage to avoid the deprecation notice in PHP 8.4 and later.

Because this constant was no-op since PHP 5.1 (circa 2005), this change has no impact.

See:

Issues

  • None

Checklist

  • None

How2Test

  • None

Todo

  • None

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/870 **Author:** [@Ayesh](https://github.com/Ayesh) **Created:** 1/16/2024 **Status:** ✅ Merged **Merged:** 1/25/2024 **Merged by:** [@kroky](https://github.com/kroky) **Base:** `master` ← **Head:** `php84-curl-depr` --- ### 📝 Commits (1) - [`45fc055`](https://github.com/cypht-org/cypht/commit/45fc055e9ef2fa1b39122f6b2e54e7acbebb6d5e) [PHP 8.4] Fix: Curl `CURLOPT_BINARYTRANSFER` deprecated ### 📊 Changes **1 file changed** (+0 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `lib/api.php` (+0 -3) </details> ### 📄 Description ## Pullrequest The `CURLOPT_BINARYTRANSFER` PHP constant from the Curl extension was no-op since PHP 5.1, and is deprecated in PHP 8.4. This removes the constant usage to avoid the deprecation notice in PHP 8.4 and later. Because this constant was no-op since PHP 5.1 (circa 2005), this change has no impact. See: - [PHP.Watch - PHP 8.4 - Curl: CURLOPT_BINARYTRANSFER deprecated](https://php.watch/versions/8.4/CURLOPT_BINARYTRANSFER-deprecated) - [commit](https://github.com/php/php-src/commit/fc16285538e96ecb35d017231051f83dcbd8b55b) ### Issues - [X] None ### Checklist - [X] None ### How2Test - [X] None ### Todo - [X] None --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:37:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1106
No description provided.